Merge pull request #1696 from henryyan/master
Added $PATH to PATH in install shell
Diff
1diff --git a/tools/install.sh b/tools/install.sh
2index 41f83e354389b62e3d2d7d8ce1bd10478de80ee6..a2bd5665a8c1338473f743c76c0152bd29e420da 100755
3--- a/tools/install.sh
4+++ b/tools/install.sh
5@@ -21,7 +21,7 @@ echo "\033[0;34mUsing the Oh My Zsh template file and adding it to ~/.zshrc\033[
6 cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
7 8 echo "\033[0;34mCopying your current PATH and adding it to the end of ~/.zshrc for you.\033[0m"
9-echo "export PATH=$PATH" >> ~/.zshrc
10+echo "export PATH=\$PATH:$PATH" >> ~/.zshrc
1112 echo "\033[0;34mTime to change your default shell to zsh!\033[0m"
13 chsh -s `which zsh`