From 2035591e029f5b09b4c4d6bae4b4888bdc19d06e Mon Sep 17 00:00:00 2001 From: Dennis Pelton Date: Fri, 9 Oct 2015 13:52:05 -0400 Subject: [PATCH] Allow more flexability in update prompt --- tools/check_for_upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh index 5afd83c1e..f69a068ac 100644 --- a/tools/check_for_upgrade.sh +++ b/tools/check_for_upgrade.sh @@ -43,7 +43,7 @@ then else echo "[Oh My Zsh] Would you like to check for updates? [Y/n]: \c" read line - if [ "$line" = Y ] || [ "$line" = y ] || [ -z "$line" ]; then + if [[ "$line" = [Yy]* ]] || [ -z "$line" ]; then _upgrade_zsh else _update_zsh_update