From 2f12d0d7a14d7052b463d0d09a4271cfadc9009f Mon Sep 17 00:00:00 2001 From: Aaron Biggs Date: Sun, 13 Apr 2014 12:24:12 -0500 Subject: [PATCH 1/2] Moved '$ZSH/oh-my-zsh.sh' back above User Config. --- templates/zshrc.zsh-template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From 8a9d3d7dab766beec41743881d1dfc55bd79c832 Mon Sep 17 00:00:00 2001 From: Aaron Biggs Date: Sun, 13 Apr 2014 12:25:35 -0500 Subject: [PATCH 2/2] Commented out Path copy. Shouldn't overwrite path. --- tools/install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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`