diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-23 14:23:16 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-23 14:23:16 +0000 |
commit | 22c3204495f1a5e55aaf84a850fb892d1ecb6fe8 (patch) | |
tree | aa37c3ead92c2892017c037479fadd2e42f5490f /Doc/Zsh | |
parent | 00772b72a7a79b6f35b1b805c305a4b6fc285659 (diff) | |
download | zsh-22c3204495f1a5e55aaf84a850fb892d1ecb6fe8.tar.gz zsh-22c3204495f1a5e55aaf84a850fb892d1ecb6fe8.tar.xz zsh-22c3204495f1a5e55aaf84a850fb892d1ecb6fe8.zip |
add -[ak] options to compadd (11533)
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/compwid.yo | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Doc/Zsh/compwid.yo b/Doc/Zsh/compwid.yo index e2083baba..ee2f7f2bd 100644 --- a/Doc/Zsh/compwid.yo +++ b/Doc/Zsh/compwid.yo @@ -415,7 +415,7 @@ sect(Builtin Commands) startitem() findex(compadd) cindex(completion widgets, adding specified matches) -xitem(tt(compadd) [ tt(-qQfenUal12) ] [ tt(-F) var(array) ]) +xitem(tt(compadd) [ tt(-akqQfenUl12) ] [ tt(-F) var(array) ]) xitem([ tt(-P) var(prefix) ] [ tt(-S) var(suffix) ]) xitem([ tt(-p) var(hidden-prefix) ] [ tt(-s) var(hidden-suffix) ]) xitem([ tt(-i) var(ignored-prefix) ] [ tt(-I) var(ignored-suffix) ]) @@ -480,6 +480,14 @@ match. item(tt(-I) var(ignored-suffix))( Like tt(-i), but gives an ignored suffix. ) +item(tt(-a))( +With this flag the var(words) are taken as names of arrays and the +possible matches are their values. +) +item(tt(-k))( +With this flag the var(words) are taken as names of associative arrays +and the possible matches are their keys. +) item(tt(-d) var(array))( This adds per-match display strings. The var(array) should contain one element per var(word) given. The completion code will then display the |