summaryrefslogtreecommitdiff
path: root/tools/install.sh
diff options
context:
space:
mode:
authormizabrik <myxabrik@users.noreply.github.com>2014-11-28 19:40:56 +0300
committermizabrik <myxabrik@users.noreply.github.com>2014-11-28 19:40:56 +0300
commitc6a8b2ea6d80e33716ce5590f4c4aff96776f06e (patch)
treec471b56b6354f60ddcbddbed823321e63b945973 /tools/install.sh
parent43aa3783f8a5606e0f884a43d51daf36553af1e4 (diff)
downloadzsh-c6a8b2ea6d80e33716ce5590f4c4aff96776f06e.tar.gz
zsh-c6a8b2ea6d80e33716ce5590f4c4aff96776f06e.tar.bz2
zsh-c6a8b2ea6d80e33716ce5590f4c4aff96776f06e.zip
Save ZSH path in newly created .zshrc
Diffstat (limited to 'tools/install.sh')
-rwxr-xr-xtools/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/install.sh b/tools/install.sh
index a53ac48ab..35548005a 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"