summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Feltner <feltner.mj@gmail.com>2014-01-14 23:13:49 -0600
committerMarc Cornellà <marc.cornella@live.com>2014-12-15 18:45:50 +0100
commit83553597a1430e2f3459de74de1cf33ae4ce67be (patch)
tree2528a96f0d62b33b8022920da43848fac31f54a2
parent1978a0923c864cacdc520adff83ed63f62c91073 (diff)
downloadzsh-83553597a1430e2f3459de74de1cf33ae4ce67be.tar.gz
zsh-83553597a1430e2f3459de74de1cf33ae4ce67be.tar.bz2
zsh-83553597a1430e2f3459de74de1cf33ae4ce67be.zip
fix(tools/check_for_upgrade): Don't source profile
Reverts #2296, but mostly #1883. There is no need to source ~/.profile when this script is read. oh-my-zsh writes no configuration data in ~/.profile. If the user wishes to use data within ~/.profile, then they should source it in another place. Fixes #2315
-rw-r--r--tools/check_for_upgrade.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh
index 4a0803210..b2b356e0c 100644
--- a/tools/check_for_upgrade.sh
+++ b/tools/check_for_upgrade.sh
@@ -22,8 +22,6 @@ if [[ -z "$epoch_target" ]]; then
epoch_target=13
fi
-[ -f ~/.profile ] && source ~/.profile
-
# Cancel upgrade if the current user doesn't have write permissions for the
# oh-my-zsh directory.
[[ -w "$ZSH" ]] || return 0