Browse Source

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

Robby Russell 14 years ago
parent
commit
b67961d812
2 changed files with 5 additions and 3 deletions
  1. 2 3
      templates/zshrc.zsh-template
  2. 3 0
      tools/install.sh

+ 2 - 3
templates/zshrc.zsh-template

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

+ 3 - 0
tools/install.sh

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