docs(readme): document self-update --no-pager

Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
This commit is contained in:
Vladislav Doster 2026-08-31 15:50:14 -05:00
parent 8197f3215b
commit fdcbb25688

View file

@ -228,6 +228,9 @@ ### Upgrade Zinit and plugins<a name="upgrade-zinit-and-plugins"></a>
# Self update
zinit self-update
# Self update, without paging the changelog
zinit self-update --no-pager
# Plugin update
zinit update
@ -909,7 +912,7 @@ ### Other<a name="other"></a>
| Command | Description |
| ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `module` | Manage binary Zsh module shipped with Zinit, see `zinit module help`. |
| `self-update` | Updates and compiles Zinit. |
| `self-update [-q] [-n]` | Updates and compiles Zinit.<br> `-q` \| `--quiet` turn off messages from the operation.<br> `-n` \| `--no-pager` disable the use of the pager for the changelog. |
| `cd {plg-spec}` | Cd into plugin's directory. Also support snippets if fed with URL. |
| `edit {plg-spec}` | Edit plugin's file with $EDITOR. |
| `changes {plg-spec}` | View plugin's git log. |
@ -927,7 +930,7 @@ ### Other<a name="other"></a>
## Updating Zinit and Plugins<a name="updating-zinit-and-plugins"></a>
To update Zinit issue `zinit self-update` in the command line.
To update Zinit issue `zinit self-update` in the command line. The changelog is shown in a pager pass `-n`/`--no-pager` to print it to the terminal instead, or `-q`/`--quiet` to skip it.
To update all plugins and snippets, issue `zinit update`. If you wish to update only a single plugin/snippet instead
issue `zinit update NAME_OF_PLUGIN`. A list of commits will be shown: