浏览代码

Merge pull request #3412 from mcornella/feltnerm-patch-1

Disable sourcing .profile when checking for available updates
Robby Russell 10 年之前
父节点
当前提交
c63f27a9f2
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      tools/check_for_upgrade.sh

+ 0 - 2
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