summaryrefslogtreecommitdiff
path: root/oh-my-zsh.sh
diff options
context:
space:
mode:
authorToon Claes <toon@tonotdo.com>2009-10-16 22:14:43 +0200
committerToon Claes <toon@tonotdo.com>2009-10-16 22:14:43 +0200
commita75d0ba8d7b256fa2c21b0c8f04cbcab6b9289f2 (patch)
treef3f2896b770b9eb516fb3fe19af2b82bc8fff054 /oh-my-zsh.sh
parent11d0b3c2ac271f8d87629c73c9832f135558a6a2 (diff)
parentc03aab51645fa7448f4e92b09ab00e2de989010e (diff)
downloadzsh-a75d0ba8d7b256fa2c21b0c8f04cbcab6b9289f2.tar.gz
zsh-a75d0ba8d7b256fa2c21b0c8f04cbcab6b9289f2.tar.bz2
zsh-a75d0ba8d7b256fa2c21b0c8f04cbcab6b9289f2.zip
Fixing merge
Diffstat (limited to 'oh-my-zsh.sh')
-rw-r--r--oh-my-zsh.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
index dd6ffec06..4b5959625 100644
--- a/oh-my-zsh.sh
+++ b/oh-my-zsh.sh
@@ -7,5 +7,10 @@ for config_file ($ZSH/lib/*.zsh) source $config_file
# Load all of your custom configurations from custom/
for config_file ($ZSH/custom/*.zsh) source $config_file
-
-export PATH=~/bin:/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/sbin:/opt/local/lib/postgresql83/bin
+# Check for updates on initial load...
+if [ "$DISABLE_AUTO_UPDATE" = "true" ]
+then
+ return
+else
+ /bin/sh $ZSH/tools/check_for_upgrade.sh
+fi