Save ZSH path in newly created .zshrc

This commit is contained in:
mizabrik 2014-11-28 19:40:56 +03:00
parent 43aa3783f8
commit c6a8b2ea6d

View File

@ -23,8 +23,8 @@ fi
echo "\033[0;34mUsing the Oh My Zsh template file and adding it to ~/.zshrc\033[0m" echo "\033[0;34mUsing the Oh My Zsh template file and adding it to ~/.zshrc\033[0m"
cp $ZSH/templates/zshrc.zsh-template ~/.zshrc cp $ZSH/templates/zshrc.zsh-template ~/.zshrc
sed -i -e "/^ZSH=/ c\\ sed -i -e "/^export ZSH=/ c\\
ZSH=$ZSH export ZSH=$ZSH
" ~/.zshrc " ~/.zshrc
echo "\033[0;34mCopying your current PATH and adding it to the end of ~/.zshrc for you.\033[0m" echo "\033[0;34mCopying your current PATH and adding it to the end of ~/.zshrc for you.\033[0m"