From 160a02fc60274a971ba2da8fbfeee88982d7c8b2 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 6aae140..b8da514 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 05b3a52..5c9f559 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