diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template index f843e150e..f3c92613d 100644 --- a/templates/zshrc.zsh-template +++ b/templates/zshrc.zsh-template @@ -47,6 +47,8 @@ ZSH_THEME="agnoster" # Example format: plugins=(rails git textmate ruby lighthouse) plugins=(battery capistrano common-aliases git github rbenv sublime systemadmin) +source $ZSH/oh-my-zsh.sh + # User configuration export PATH=:/usr/local/bin:$HOME/bin:$PATH @@ -64,5 +66,3 @@ export PATH=:/usr/local/bin:$HOME/bin:$PATH # ssh # export SSH_KEY_PATH="~/.ssh/dsa_id" - -source $ZSH/oh-my-zsh.sh diff --git a/tools/install.sh b/tools/install.sh index cd9fe4655..363a3a77d 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -25,10 +25,10 @@ fi echo "\033[0;34mUsing the Oh My Zsh template file and adding it to ~/.zshrc\033[0m" cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc -echo "\033[0;34mCopying your current PATH and adding it to the end of ~/.zshrc for you.\033[0m" -sed -i -e "/export PATH=/ c\\ -export PATH=\"$PATH\" -" ~/.zshrc +# echo "\033[0;34mCopying your current PATH and adding it to the end of ~/.zshrc for you.\033[0m" +# sed -i -e "/export PATH=/ c\\ +# export PATH=\"$PATH\" +# " ~/.zshrc echo "\033[0;34mTime to change your default shell to zsh!\033[0m" chsh -s `which zsh`