diff options
| author | taiyu <taiyu.len@gmail.com> | 2021-02-07 05:15:03 -0800 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2021-02-13 01:01:40 +0100 |
| commit | 3714ee0b5868a30d7556acab337889849a3c8226 (patch) | |
| tree | 45c6279283d66a61666d1c96043bfa029bf5a3de /Completion/Zsh | |
| parent | 47905: Add leading '-' to zparseopts option parsing errors (diff) | |
| download | zsh-3714ee0b5868a30d7556acab337889849a3c8226.tar zsh-3714ee0b5868a30d7556acab337889849a3c8226.tar.gz zsh-3714ee0b5868a30d7556acab337889849a3c8226.tar.bz2 zsh-3714ee0b5868a30d7556acab337889849a3c8226.tar.lz zsh-3714ee0b5868a30d7556acab337889849a3c8226.tar.xz zsh-3714ee0b5868a30d7556acab337889849a3c8226.tar.zst zsh-3714ee0b5868a30d7556acab337889849a3c8226.zip | |
github #68: support section suffix completion for man pages
Support prepend and suffix values for insert-sections
Add values for insert-sections for zstyle completion
Diffstat (limited to 'Completion/Zsh')
| -rw-r--r-- | Completion/Zsh/Command/_zstyle | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_zstyle b/Completion/Zsh/Command/_zstyle index bb0e1f5bc..0473dd0fe 100644 --- a/Completion/Zsh/Command/_zstyle +++ b/Completion/Zsh/Command/_zstyle @@ -62,6 +62,7 @@ styles=( ignore-parents c:ignorepar ignored-patterns c: insert-ids c:insert-ids + insert-sections c:insert-sections insert-tab c:bool insert-unambiguous c:insunambig keep-prefix c:keep-prefix @@ -524,6 +525,11 @@ while (( $#state )); do compadd - menu single longer ;; + (insert-sections) + _wanted values expl 'where to insert man page section' \ + compadd - true false prepend suffix + ;; + (fake-files) _message -e fakes 'prefix and names' ;; |
