Skip to content

Instantly share code, notes, and snippets.

@linyows
Created March 23, 2012 00:42
Show Gist options
  • Save linyows/2165849 to your computer and use it in GitHub Desktop.
Save linyows/2165849 to your computer and use it in GitHub Desktop.
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
_upgrade_zsh
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment