浏览代码

Added $PATH to PATH in install shell

Henry Yan 12 年之前
父节点
当前提交
d55262b6a1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/install.sh

+ 1 - 1
tools/install.sh

@@ -21,7 +21,7 @@ echo "\033[0;34mUsing the Oh My Zsh template file and adding it to ~/.zshrc\033[
 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"
-echo "export PATH=$PATH" >> ~/.zshrc
+echo "export PATH=\$PATH:$PATH" >> ~/.zshrc
 
 echo "\033[0;34mTime to change your default shell to zsh!\033[0m"
 chsh -s `which zsh`