c6a8b2ea6d80e33716ce5590f4c4aff96776f06e

Author
mizabrik <myxabrik@users.noreply.github.com>
Committer
mizabrik <myxabrik@users.noreply.github.com>
Date

Message

Save ZSH path in newly created .zshrc

Diff

 1diff --git a/tools/install.sh b/tools/install.sh
 2index a53ac48aba43d5c602809a40d02bc0d5bbd75d71..35548005a5c7f35f8da305f961a254ff925a1d51 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
14 
15 echo "\033[0;34mCopying your current PATH and adding it to the end of ~/.zshrc for you.\033[0m"