summaryrefslogtreecommitdiff
path: root/tools/check_for_upgrade.sh
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2015-06-14 21:46:41 -0700
committerRobby Russell <robby@planetargon.com>2015-06-14 21:46:41 -0700
commit78bbf7a6e52e7aabc82f22c43c9309a5f0ff1282 (patch)
tree6a2a6374797c0f303a293cd17547349a617c7404 /tools/check_for_upgrade.sh
parent9eaf51107f15011f73b39fb727895f65797edcbc (diff)
parenta7e79824f85a89cbcacbceab0277c9833dee4817 (diff)
downloadzsh-78bbf7a6e52e7aabc82f22c43c9309a5f0ff1282.tar.gz
zsh-78bbf7a6e52e7aabc82f22c43c9309a5f0ff1282.tar.bz2
zsh-78bbf7a6e52e7aabc82f22c43c9309a5f0ff1282.zip
Merge pull request #3809 from ncanceill/easymerge
Easy-to-Merge
Diffstat (limited to 'tools/check_for_upgrade.sh')
-rw-r--r--tools/check_for_upgrade.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh
index b2b356e0c..5afd83c1e 100644
--- a/tools/check_for_upgrade.sh
+++ b/tools/check_for_upgrade.sh
@@ -41,10 +41,9 @@ then
then
_upgrade_zsh
else
- echo "[Oh My Zsh] Would you like to check for updates?"
- echo "Type Y to update oh-my-zsh: \c"
+ echo "[Oh My Zsh] Would you like to check for updates? [Y/n]: \c"
read line
- if [ "$line" = Y ] || [ "$line" = y ]; then
+ if [ "$line" = Y ] || [ "$line" = y ] || [ -z "$line" ]; then
_upgrade_zsh
else
_update_zsh_update