diff options
author | Robby Russell <robby@planetargon.com> | 2009-09-23 17:12:19 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2009-09-23 17:12:19 -0700 |
commit | 00a190bc017283ef8ab8c725c5f9fe93f030e31e (patch) | |
tree | 69e3a2f073ef002eb3f4148aa056cd442d7fa484 /lib/misc.zsh | |
parent | 700a3f0badf89fc9bb5a8f54b5fd2e14aed2823d (diff) | |
download | zsh-00a190bc017283ef8ab8c725c5f9fe93f030e31e.tar.gz zsh-00a190bc017283ef8ab8c725c5f9fe93f030e31e.tar.bz2 zsh-00a190bc017283ef8ab8c725c5f9fe93f030e31e.zip |
Oh My Zsh gets a weekly auto-updater... the future is now!
Diffstat (limited to 'lib/misc.zsh')
-rw-r--r-- | lib/misc.zsh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/misc.zsh b/lib/misc.zsh index fab4be931..8d6727251 100644 --- a/lib/misc.zsh +++ b/lib/misc.zsh @@ -6,4 +6,12 @@ zle -N self-insert url-quote-magic bindkey "^[m" copy-prev-shell-word ## jobs -setopt long_list_jobs
\ No newline at end of file +setopt long_list_jobs + +# Check for updates on initial load... +if [ "$DISABLE_AUTO_UPDATE" = "true" ] +then + return +else + /bin/sh $ZSH/tools/check_for_upgrade.sh +fi |