Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

auto-upadate feature will now reset the epoch so that if a user doesn…

…'t say yes, it won't ask them again for a while. fixes #1240
  • Loading branch information...
commit 1c23a52f5744ef419e83733d18a6a698ddd14d1e 1 parent 1103421
Robby Russell robbyrussell authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 tools/check_for_upgrade.sh
5 tools/check_for_upgrade.sh
View
@@ -32,9 +32,10 @@ then
echo "[Oh My Zsh] Would you like to check for updates?"
echo "Type Y to update oh-my-zsh: \c"
read line
- if [ "$line" = Y ] || [ "$line" = y ]
- then
+ if [ "$line" = Y ] || [ "$line" = y ]; then
_upgrade_zsh
+ else
+ _update_zsh_update
fi
fi
fi
Please sign in to comment.
Something went wrong with that request. Please try again.