From 894f8619f5ef06d5e3c4e92e49dcd1496f62646a Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Tue, 22 Nov 2016 20:43:45 -0500 Subject: [PATCH] Update setup.sh --- setup.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/setup.sh b/setup.sh index 8f04d03..e4d7e94 100755 --- a/setup.sh +++ b/setup.sh @@ -7,7 +7,7 @@ ########## Variables dir=~/dotfiles # dotfiles directory olddir=~/dotfiles_old # old dotfiles backup directory -files="bashrc config emacs emacs.d gitconfig gitignore_global psqlrc zshrc oh-my-zsh tmux.conf" # list of files/folders to symlink in homedir +files="bashrc config spacemacs emacs.d gitconfig gitignore_global psqlrc zshrc oh-my-zsh tmux.conf" # list of files/folders to symlink in homedir ########## # create dotfiles_old in homedir @@ -25,8 +25,8 @@ echo "Moving any existing dotfiles from ~ to $olddir" for file in $files; do if [ -e $file ] then - echo "Moving $file to $olddir/$file" - mv ~/.$file $olddir + echo "Moving $file to $olddir/$file" + mv ~/.$file $olddir echo "Creating symlink to $file in home directory." ln -s $dir/$file ~/.$file fi @@ -38,8 +38,5 @@ mkdir -p ~/.env echo "Moving postactivate into place" ln -s $dir/postactivate ~/.env/postactivate -echo "Linking custom oh-my-zsh theme" -ln -s $dir/themes ~/.oh-my-zsh/custom/themes - echo "Source ~/.zshrc" . ~/.zshrc