mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
feat(updater): show command to update when update skipped (#10465)
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user