mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-21 21:30:09 +00:00
No input for Update Check defaults to Yes
This commit is contained in:
parent
4224c2a1af
commit
6a1b8320fe
1 changed files with 2 additions and 3 deletions
|
@ -41,10 +41,9 @@ then
|
||||||
then
|
then
|
||||||
_upgrade_zsh
|
_upgrade_zsh
|
||||||
else
|
else
|
||||||
echo "[Oh My Zsh] Would you like to check for updates?"
|
echo "[Oh My Zsh] Would you like to check for updates? [Y/n]: \c"
|
||||||
echo "Type Y to update oh-my-zsh: \c"
|
|
||||||
read line
|
read line
|
||||||
if [ "$line" = Y ] || [ "$line" = y ]; 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