Updating install process to copy your current environments PATH and adding it to the bottom of ~/.zshrc.

This commit is contained in:
Robby Russell 2009-09-07 09:11:34 -07:00
parent 44465ef4ce
commit b67961d812
2 changed files with 5 additions and 3 deletions

View File

@ -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...

View File

@ -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