diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-31 09:38:25 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-31 09:38:25 +0000 |
commit | fd25b24df6b4f098944c4994195d3894a27a8208 (patch) | |
tree | 53f7f940844ab34c7349506622fc8241c782f98c /Completion/Commands/_bash_completions | |
parent | 4629133ad33dacef459ad9fa5ca438836a1be9fb (diff) | |
download | zsh-fd25b24df6b4f098944c4994195d3894a27a8208.tar.gz zsh-fd25b24df6b4f098944c4994195d3894a27a8208.tar.xz zsh-fd25b24df6b4f098944c4994195d3894a27a8208.zip |
use compadd -[ak] (11549)
Diffstat (limited to 'Completion/Commands/_bash_completions')
-rw-r--r-- | Completion/Commands/_bash_completions | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Completion/Commands/_bash_completions b/Completion/Commands/_bash_completions index 548888138..50600290d 100644 --- a/Completion/Commands/_bash_completions +++ b/Completion/Commands/_bash_completions @@ -28,12 +28,13 @@ setopt localoptions nullglob rcexpandparam extendedglob unsetopt markdirs globsubst shwordsplit nounset ksharrays -local key=$KEYS[-1] +local key=$KEYS[-1] expl case $key in '!') _main_complete _command_names ;; - '$') compadd - "${(@k)parameters[(R)*export*]}" + '$') _main_complete - _wanted parameters expl 'exported parameters' \ + compadd - "${(@k)parameters[(R)*export*]}" ;; '@') _main_complete _hosts ;; |