From 8d976e02b1da43ec74c1ca6f50584eed566ff73a Mon Sep 17 00:00:00 2001
From: Mark Feltner <feltner.mj@gmail.com>
Date: Tue, 14 Jan 2014 23:13:49 -0600
Subject: [PATCH] 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
---
 tools/check_for_upgrade.sh | 2 --
 1 file changed, 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