Browse Source

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

master
Robby Russell 15 years ago
parent
commit
160a02fc60
  1. 5
      templates/zshrc.zsh-template
  2. 3
      tools/install.sh

5
templates/zshrc.zsh-template

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

3
tools/install.sh

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

Loading…
Cancel
Save