From 551abfcbb48a0c001eadef80abc3276af4e9ad26 Mon Sep 17 00:00:00 2001 From: Felipe Vargas Date: Thu, 16 Jun 2016 12:56:34 -0700 Subject: Remove undesirable hardcoding of PATH into zshrc (#4925) See robbyrussell@b67961d --- tools/install.sh | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tools') 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 -- cgit v1.2.3-70-g09d2