Commit 6a1b8320 authored by HeroCC's avatar HeroCC Committed by ncanceill
Browse files

No input for Update Check defaults to Yes

parent 4224c2a1
...@@ -41,10 +41,9 @@ then ...@@ -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
......
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