mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
Updating install process to copy your current environments PATH and adding it to the bottom of ~/.zshrc.
This commit is contained in:
parent
44465ef4ce
commit
b67961d812
2 changed files with 5 additions and 3 deletions
|
@ -5,7 +5,6 @@ export ZSH=$HOME/.oh-my-zsh
|
|||
# Look in ~/.oh-my-zsh/themes/
|
||||
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
|
||||
|
||||
# Customize to your needs...
|
||||
|
|
|
@ -18,6 +18,9 @@ fi
|
|||
echo "Using the Oh My Zsh template file and adding it to ~/.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!"
|
||||
chsh -s /bin/zsh
|
||||
|
||||
|
|
Loading…
Reference in a new issue