浏览代码

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
Mark Feltner 11 年之前
父节点
当前提交
8d976e02b1
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      tools/check_for_upgrade.sh

+ 0 - 2
tools/check_for_upgrade.sh

@@ -20,8 +20,6 @@ if [[ -z "$epoch_target" ]]; then
   epoch_target=13
   epoch_target=13
 fi
 fi
 
 
-[ -f ~/.profile ] && source ~/.profile
-
 if [ -f ~/.zsh-update ]
 if [ -f ~/.zsh-update ]
 then
 then
   . ~/.zsh-update
   . ~/.zsh-update