diff --git a/_zinit b/_zinit index b0359baf..02db0772 100644 --- a/_zinit +++ b/_zinit @@ -275,6 +275,7 @@ _zinit_run(){ _zinit_self_update(){ _arguments -A \ '(-h --help)'{-h,--help}'[Show this help message]' \ + '(-n --no-pager)'{-n,--no-pager}'[Disable the use of the pager]' \ '(-q --quiet)'{-q,--quiet}'[Turn off messages from the operation]' \ && ret=0 } # ]]] diff --git a/zinit.zsh b/zinit.zsh index 768cd982..13118d1b 100644 --- a/zinit.zsh +++ b/zinit.zsh @@ -2713,7 +2713,7 @@ zinit() { light "--help|-b|-h" snippet "--command|--force|--help|-f|-h|-x" times "--help|-h|-m|-s" - self-update "--help|--quiet|-h|-q" + self-update "--help|--no-pager|--quiet|-h|-n|-q" unload "--help|--quiet|-h|-q" update "--all|--help|--no-pager|--parallel|--plugins|--quiet|--reset|--snippets|--urge|--verbose|-L|-a|-h|-n|-p|-q|-r|-s|-u|-v" version ""