From 00a190bc017283ef8ab8c725c5f9fe93f030e31e Mon Sep 17 00:00:00 2001 From: Robby Russell Date: Wed, 23 Sep 2009 17:12:19 -0700 Subject: Oh My Zsh gets a weekly auto-updater... the future is now! --- lib/misc.zsh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'lib/misc.zsh') 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 -- cgit v1.2.3-70-g09d2