From 92b7931caaa2dcfff4e10eee6b4edfc4627a74bb Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Sat, 1 Aug 2020 13:45:28 +0200 Subject: [PATCH] added initDesktop --- bin/initDesktop | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/initDesktop b/bin/initDesktop index 15d939e..e6f6d0a 100755 --- a/bin/initDesktop +++ b/bin/initDesktop @@ -12,11 +12,11 @@ set -aeo pipefail function new_log(){ # script output - echo "\n**** [$*] ***" + printf "\n**** [$*] ***\n" } function log(){ - echo "$*" + printf "$*\n" } function gnome_key_bindings(){ @@ -42,7 +42,7 @@ function setup_dotfiles(){ log "adding remote repo ($DOTFILES_REMOTE)" $dotf remote add origin "$DOTFILES_REMOTE" - if [[ -f "$HOME/.bachrc" ]];then + if [[ -f "$HOME/.bashrc" ]];then log "renaming local .bashrc to .bashrc.bak" mv "$HOME/.bashrc" "$HOME/.bashrc.bak" fi