mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 08:50:08 +00:00
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
This commit is contained in:
parent
11034217a7
commit
1c23a52f57
1 changed files with 3 additions and 2 deletions
|
@ -32,9 +32,10 @@ then
|
||||||
echo "[Oh My Zsh] Would you like to check for updates?"
|
echo "[Oh My Zsh] Would you like to check for updates?"
|
||||||
echo "Type Y to update oh-my-zsh: \c"
|
echo "Type Y to update oh-my-zsh: \c"
|
||||||
read line
|
read line
|
||||||
if [ "$line" = Y ] || [ "$line" = y ]
|
if [ "$line" = Y ] || [ "$line" = y ]; then
|
||||||
then
|
|
||||||
_upgrade_zsh
|
_upgrade_zsh
|
||||||
|
else
|
||||||
|
_update_zsh_update
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue