From b049410adbc6c19644f76b8f26352bfb52abcc79 Mon Sep 17 00:00:00 2001 From: Michal Papis Date: Mon, 15 Oct 2012 21:52:40 +0300 Subject: [PATCH] Do not force PATH in the installer The installer forced PATH - this prevents PATH dynamically set by system, also forces any temporary user PATH that was set during installation to be recorded and used on every shell start. It should be users conscious choice to manipulate PATH, a lot of users is not aware of this and do not even know if this good or not. If users need to add something to PATH they should do it by adding it not overwriting system detected PATH: PATH="$PATH:/user/custom/path" or: path+=( "/user/custom/path" ) --- tools/install.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/install.sh b/tools/install.sh index b080be3a1..89dc62c08 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -21,9 +21,6 @@ fi echo "\033[0;34mUsing the Oh My Zsh template file and adding it to ~/.zshrc\033[0m" cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc -echo "\033[0;34mCopying your current PATH and adding it to the end of ~/.zshrc for you.\033[0m" -echo "export PATH=$PATH" >> ~/.zshrc - echo "\033[0;34mTime to change your default shell to zsh!\033[0m" chsh -s `which zsh`