From 0140c9406ab65ab4de45c3ab3307a58aa46f5a5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Tue, 23 Jul 2024 20:39:15 +0200 Subject: [PATCH] Document update verbosity settings --- Settings.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Settings.md b/Settings.md index cc34187..faa0dfe 100644 --- a/Settings.md +++ b/Settings.md @@ -1,10 +1,11 @@ > _This wiki is automatically published from [ohmyzsh/wiki](https://github.com/ohmyzsh/wiki). To edit this page,_ > _go to [ohmyzsh/wiki](https://github.com/ohmyzsh/wiki), make your changes and submit a Pull Request._ -# Settings +# Settings > **NOTE: unless specified otherwise, these variables need to be declared _before_ Oh My Zsh is sourced in your `.zshrc` file.** + - [Main settings](#main-settings) @@ -16,6 +17,7 @@ - [Update settings](#update-settings) - [`':omz:update' mode`](#omzupdate-mode) - [`':omz:update' frequency`](#omzupdate-frequency) + - [`':omz:update' verbosity`](#omzupdate-verbosity) - [Deprecated settings](#deprecated-settings) - [Completion settings](#completion-settings) - [`ZSH_COMPDUMP`](#zsh_compdump) @@ -135,6 +137,28 @@ setting only takes effect when automatic updates are enabled. **The default are zstyle ':omz:update' frequency 7 ``` +### `':omz:update' verbosity` + +This setting controls the amount of information displayed after an update finishes. These are the available verbosity levels: + +1. `default`: shows everything: git update process, changelog and success message. + + ```zsh + zstyle ':omz:update' verbosity default + ``` + +2. `minimal`: shows only the git update process and a minimal success message. + + ```zsh + zstyle ':omz:update' verbosity minimal + ``` + +3. `silent`: only shows the git update process. + + ```zsh + zstyle ':omz:update' verbosity silent + ``` + ### Deprecated settings These settings are still supported but will be removed in a future version of Oh My Zsh.