summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMark Feltner <feltner.mj@gmail.com>2014-01-14 23:13:49 -0600
committerncanceill <nicolas.canceill@ens-cachan.org>2014-05-24 19:51:08 +0200
commit8d976e02b1da43ec74c1ca6f50584eed566ff73a (patch)
tree15d1fd6e9ae9154b3f5ec56cafed22a0fcc990cf /tools
parent5e601d6515f9ee51c733aea71acf6757066943e2 (diff)
downloadzsh-8d976e02b1da43ec74c1ca6f50584eed566ff73a.tar.gz
zsh-8d976e02b1da43ec74c1ca6f50584eed566ff73a.tar.bz2
zsh-8d976e02b1da43ec74c1ca6f50584eed566ff73a.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
Diffstat (limited to 'tools')
-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 5c8ce3a50..c5fd0cce1 100644
--- a/tools/check_for_upgrade.sh
+++ b/tools/check_for_upgrade.sh
@@ -20,8 +20,6 @@ if [[ -z "$epoch_target" ]]; then
epoch_target=13
fi
-[ -f ~/.profile ] && source ~/.profile
-
if [ -f ~/.zsh-update ]
then
. ~/.zsh-update