2e11e2ab5adaea762b7f2eaa6c63332a9618bb3f

Author
Andrew Vit <andrew@avit.ca>
Committer
Andrew Vit <andrew@avit.ca>
Date

Message

Write install path into .zshrc

Diff

 1diff --git a/tools/install.sh b/tools/install.sh
 2index 01984ea2b31bdcce67bd161320143a4a469822b8..5c7a5b6ca6002e30edbd3403b36a8964467c6e7d 100755
 3--- a/tools/install.sh
 4+++ b/tools/install.sh
 5@@ -24,6 +24,9 @@ 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+" ~/.zshrc
12 
13 echo "\033[0;34mCopying your current PATH and adding it to the end of ~/.zshrc for you.\033[0m"
14 sed -i -e "/export PATH=/ c\\