mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
Merge pull request #4207 from mpscholten/master
Also accept any forms of yes as an answer to the "do you want to update?" prompt
This commit is contained in:
commit
ef031dfe8f
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ then
|
||||||
else
|
else
|
||||||
echo "[Oh My Zsh] Would you like to check for updates? [Y/n]: \c"
|
echo "[Oh My Zsh] Would you like to check for updates? [Y/n]: \c"
|
||||||
read line
|
read line
|
||||||
if [ "$line" = Y ] || [ "$line" = y ] || [ -z "$line" ]; then
|
if [[ "$line" == Y* ]] || [[ "$line" == y* ]] || [ -z "$line" ]; then
|
||||||
_upgrade_zsh
|
_upgrade_zsh
|
||||||
else
|
else
|
||||||
_update_zsh_update
|
_update_zsh_update
|
||||||
|
|
Loading…
Reference in a new issue