Commit c63f27a9 authored by Robby Russell's avatar Robby Russell
Browse files

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

Disable sourcing .profile when checking for available updates
parents 5167450e 83553597
...@@ -22,8 +22,6 @@ if [[ -z "$epoch_target" ]]; then ...@@ -22,8 +22,6 @@ if [[ -z "$epoch_target" ]]; then
epoch_target=13 epoch_target=13
fi fi
[ -f ~/.profile ] && source ~/.profile
# Cancel upgrade if the current user doesn't have write permissions for the # Cancel upgrade if the current user doesn't have write permissions for the
# oh-my-zsh directory. # oh-my-zsh directory.
[[ -w "$ZSH" ]] || return 0 [[ -w "$ZSH" ]] || return 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment