Commit ef031dfe authored by Marc Cornellà's avatar Marc Cornellà
Browse files

Merge pull request #4207 from mpscholten/master

Also accept any forms of yes as an answer to the "do you want to update?" prompt
parents 46824b39 d351c76b
......@@ -46,7 +46,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" == Y* ]] || [[ "$line" == y* ]] || [ -z "$line" ]; then
_upgrade_zsh
else
_update_zsh_update
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment