Commit 8d976e02 authored by Mark Feltner's avatar Mark Feltner Committed by ncanceill
Browse files

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
parent 5e601d65
......@@ -20,8 +20,6 @@ if [[ -z "$epoch_target" ]]; then
epoch_target=13
fi
[ -f ~/.profile ] && source ~/.profile
if [ -f ~/.zsh-update ]
then
. ~/.zsh-update
......
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