Updating install process to copy your current environments PATH and adding it to the bottom of ~/.zshrc.
This commit is contained in:
parent
e65252db39
commit
160a02fc60
@ -5,7 +5,6 @@ export ZSH=$HOME/.oh-my-zsh
|
|||||||
# Look in ~/.oh-my-zsh/themes/
|
# Look in ~/.oh-my-zsh/themes/
|
||||||
export ZSH_THEME="robbyrussell"
|
export ZSH_THEME="robbyrussell"
|
||||||
|
|
||||||
# Customize to your needs...
|
|
||||||
#export PATH=~/bin:/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/sbin:/opt/local/lib/postgresql83/bin
|
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
|
# Customize to your needs...
|
||||||
|
@ -18,6 +18,9 @@ fi
|
|||||||
echo "Using the Oh My Zsh template file and adding it to ~/.zshrc"
|
echo "Using the Oh My Zsh template file and adding it to ~/.zshrc"
|
||||||
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
|
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
|
||||||
|
|
||||||
|
echo "Copying your current PATH and adding it to the end of ~/.zshrc for you."
|
||||||
|
echo "export PATH=$PATH" >> ~/.zshrc
|
||||||
|
|
||||||
echo "Time to change your default shell to zsh!"
|
echo "Time to change your default shell to zsh!"
|
||||||
chsh -s /bin/zsh
|
chsh -s /bin/zsh
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user