From b67961d812c7f403aea223f40410bfc34f706b05 Mon Sep 17 00:00:00 2001 From: Robby Russell Date: Mon, 7 Sep 2009 09:11:34 -0700 Subject: [PATCH] Updating install process to copy your current environments PATH and adding it to the bottom of ~/.zshrc. --- templates/zshrc.zsh-template | 5 ++--- tools/install.sh | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template index 6aae1401..b8da5142 100644 --- a/templates/zshrc.zsh-template +++ b/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... diff --git a/tools/install.sh b/tools/install.sh index 05b3a52c..5c9f5592 100644 --- a/tools/install.sh +++ b/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