mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-19 22:59:50 +00:00
feat(upgrade): add verbosity settings
Co-authored-by: Carlo Sala <carlosalag@protonmail.com> Closes #11574 Closes #11579
This commit is contained in:
committed by
Carlo Sala
parent
c08b925d28
commit
8f6fbe2389
@@ -95,7 +95,8 @@ function update_last_updated_file() {
|
||||
}
|
||||
|
||||
function update_ohmyzsh() {
|
||||
if ZSH="$ZSH" zsh -f "$ZSH/tools/upgrade.sh" --interactive; then
|
||||
zstyle -s ':omz:update' verbose verbose_mode || verbose_mode=default
|
||||
if ZSH="$ZSH" zsh -f "$ZSH/tools/upgrade.sh" -i -v $verbose_mode; then
|
||||
update_last_updated_file
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user