summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2015-02-10 11:21:15 -0800
committerRobby Russell <robby@planetargon.com>2015-02-10 11:21:15 -0800
commitd2667bd0a29f308d528b42bca9cd3b79cd11a8ae (patch)
treee6abbfd348aac4149dca9a4b8be0f0745cbcec91 /tools
parent17216bee9c27ef63d5c3e5e72ce63b8f350ade73 (diff)
parentc6a8b2ea6d80e33716ce5590f4c4aff96776f06e (diff)
downloadzsh-d2667bd0a29f308d528b42bca9cd3b79cd11a8ae.tar.gz
zsh-d2667bd0a29f308d528b42bca9cd3b79cd11a8ae.tar.bz2
zsh-d2667bd0a29f308d528b42bca9cd3b79cd11a8ae.zip
Merge pull request #3353 from mizabrik/master
Save ZSH path in newly created .zshrc
Diffstat (limited to 'tools')
-rwxr-xr-xtools/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/install.sh b/tools/install.sh
index 69213d4a3..bd4c55749 100755
--- a/tools/install.sh
+++ b/tools/install.sh
@@ -23,8 +23,8 @@ fi
echo "\033[0;34mUsing the Oh My Zsh template file and adding it to ~/.zshrc\033[0m"
cp $ZSH/templates/zshrc.zsh-template ~/.zshrc
-sed -i -e "/^ZSH=/ c\\
-ZSH=$ZSH
+sed -i -e "/^export ZSH=/ c\\
+export ZSH=$ZSH
" ~/.zshrc
echo "\033[0;34mCopying your current PATH and adding it to the end of ~/.zshrc for you.\033[0m"