Merge pull request #3353 from mizabrik/master
Save ZSH path in newly created .zshrc
Diff
1diff --git a/tools/install.sh b/tools/install.sh
2index 69213d4a314fd6b6e17c5a7fa72dea669b6e03d8..bd4c5574988646ed5ebb55704e5046665b9c16bd 100755
3--- a/tools/install.sh
4+++ b/tools/install.sh
5@@ -23,8 +23,8 @@ fi
6 7 echo "\033[0;34mUsing the Oh My Zsh template file and adding it to ~/.zshrc\033[0m"
8 cp $ZSH/templates/zshrc.zsh-template ~/.zshrc
9-sed -i -e "/^ZSH=/ c\\
10-ZSH=$ZSH
11+sed -i -e "/^export ZSH=/ c\\
12+export ZSH=$ZSH
13 " ~/.zshrc
1415 echo "\033[0;34mCopying your current PATH and adding it to the end of ~/.zshrc for you.\033[0m"