mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40:08 +00:00
feat(updater): show command to update when update skipped (#10465)
This commit is contained in:
parent
e253661a9b
commit
c66fc00401
1 changed files with 2 additions and 1 deletions
|
@ -160,7 +160,8 @@ function update_ohmyzsh() {
|
||||||
[[ "$option" != $'\n' ]] && echo
|
[[ "$option" != $'\n' ]] && echo
|
||||||
case "$option" in
|
case "$option" in
|
||||||
[yY$'\n']) update_ohmyzsh ;;
|
[yY$'\n']) update_ohmyzsh ;;
|
||||||
[nN]) update_last_updated_file ;;
|
[nN]) update_last_updated_file ;&
|
||||||
|
*) echo "[oh-my-zsh] You can update manually by running \`omz update\`" ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue