diff options
author | Felipe Vargas <fvargasx@gmail.com> | 2016-06-16 12:56:34 -0700 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2016-06-16 21:56:34 +0200 |
commit | 551abfcbb48a0c001eadef80abc3276af4e9ad26 (patch) | |
tree | ac12dd2a36d4420bfc236bf677cfbe857e904434 /tools | |
parent | 46c0d9590d38f98ab7f69f48c067715077fe49cb (diff) | |
download | zsh-551abfcbb48a0c001eadef80abc3276af4e9ad26.tar.gz zsh-551abfcbb48a0c001eadef80abc3276af4e9ad26.tar.bz2 zsh-551abfcbb48a0c001eadef80abc3276af4e9ad26.zip |
Remove undesirable hardcoding of PATH into zshrc (#4925)
See robbyrussell@b67961d
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/install.sh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/install.sh b/tools/install.sh index 199d29419..3f4de8681 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -80,12 +80,6 @@ main() { " ~/.zshrc > ~/.zshrc-omztemp mv -f ~/.zshrc-omztemp ~/.zshrc - printf "${BLUE}Copying your current PATH and adding it to the end of ~/.zshrc for you.${NORMAL}\n" - sed "/export PATH=/ c\\ - export PATH=\"$PATH\" - " ~/.zshrc > ~/.zshrc-omztemp - mv -f ~/.zshrc-omztemp ~/.zshrc - # If this user's login shell is not already "zsh", attempt to switch. TEST_CURRENT_SHELL=$(expr "$SHELL" : '.*/\(.*\)') if [ "$TEST_CURRENT_SHELL" != "zsh" ]; then |