From 005d967dc4e879f304607a706ccd18886e630dc1 Mon Sep 17 00:00:00 2001 From: Trevor Wennblom Date: Mon, 6 Feb 2012 20:16:41 -0600 Subject: [PATCH 1/3] pass DISABLE_UPDATE_PROMPT to check_for_upgrade.sh --- oh-my-zsh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index 732a403b7..b1bf3f94c 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -1,7 +1,7 @@ # Check for updates on initial load... if [ "$DISABLE_AUTO_UPDATE" != "true" ] then - /usr/bin/env ZSH=$ZSH zsh $ZSH/tools/check_for_upgrade.sh + /usr/bin/env ZSH=$ZSH DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT zsh $ZSH/tools/check_for_upgrade.sh fi # Initializes Oh My Zsh From a6e50db5bae4c053084bb875f999ab779f2fa1cc Mon Sep 17 00:00:00 2001 From: Trevor Wennblom Date: Mon, 6 Feb 2012 20:18:56 -0600 Subject: [PATCH 2/3] suggest DISABLE_UPDATE_PROMPT in .zshrc --- templates/zshrc.zsh-template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template index e52553241..0fba09fd1 100644 --- a/templates/zshrc.zsh-template +++ b/templates/zshrc.zsh-template @@ -17,6 +17,9 @@ ZSH_THEME="robbyrussell" # Comment this out to disable weekly auto-update checks # DISABLE_AUTO_UPDATE="true" +# Comment this out to automatically approve of updates without prompt +# DISABLE_UPDATE_PROMPT="true" + # Uncomment following line if you want to disable colors in ls # DISABLE_LS_COLORS="true" From d0fc3b081d6a70b0b1c128eb43713a6161f4ee60 Mon Sep 17 00:00:00 2001 From: Trevor Wennblom Date: Mon, 6 Feb 2012 20:21:46 -0600 Subject: [PATCH 3/3] normalize .sh files to executable --- oh-my-zsh.sh | 0 tools/check_for_upgrade.sh | 0 tools/uninstall.sh | 0 tools/upgrade.sh | 0 4 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 oh-my-zsh.sh mode change 100644 => 100755 tools/check_for_upgrade.sh mode change 100644 => 100755 tools/uninstall.sh mode change 100644 => 100755 tools/upgrade.sh diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh old mode 100644 new mode 100755 diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh old mode 100644 new mode 100755 diff --git a/tools/uninstall.sh b/tools/uninstall.sh old mode 100644 new mode 100755 diff --git a/tools/upgrade.sh b/tools/upgrade.sh old mode 100644 new mode 100755