summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGert de Pagter <BackEndTea@users.noreply.github.com>2018-05-15 11:26:59 +0200
committerMarc Cornellà <marc.cornella@live.com>2018-05-15 11:26:59 +0200
commit2b7a41b0d2e6a67ad14f94f7cc00293491f2c3f8 (patch)
tree32a5f9b88ef4060200cf3be2c4a840e4cf3b9d34 /tools
parent6876d9c5438b0e0e950fc85f736458ba55f8d65c (diff)
downloadzsh-2b7a41b0d2e6a67ad14f94f7cc00293491f2c3f8.tar.gz
zsh-2b7a41b0d2e6a67ad14f94f7cc00293491f2c3f8.tar.bz2
zsh-2b7a41b0d2e6a67ad14f94f7cc00293491f2c3f8.zip
Update the update prompt (#6825)
`[Oh My Zsh] Would you like to check for updates? [Y/n]: ` does not make sense, since answering yes will download/apply the new updates instead of checking for them.
Diffstat (limited to 'tools')
-rw-r--r--tools/check_for_upgrade.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh
index a57f6da0f..b42b87750 100644
--- a/tools/check_for_upgrade.sh
+++ b/tools/check_for_upgrade.sh
@@ -42,7 +42,7 @@ if mkdir "$ZSH/log/update.lock" 2>/dev/null; then
if [ "$DISABLE_UPDATE_PROMPT" = "true" ]; then
_upgrade_zsh
else
- echo "[Oh My Zsh] Would you like to check for updates? [Y/n]: \c"
+ echo "[Oh My Zsh] Would you like to update? [Y/n]: \c"
read line
if [[ "$line" == Y* ]] || [[ "$line" == y* ]] || [ -z "$line" ]; then
_upgrade_zsh