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