mirror of https://github.com/ohmyzsh/ohmyzsh.git
feat(updater): show command to update when update skipped (#10465)
parent
e253661a9b
commit
c66fc00401
|
@ -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 New Issue