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/Builtins/_hash | |
parent | 4629133ad33dacef459ad9fa5ca438836a1be9fb (diff) | |
download | zsh-fd25b24df6b4f098944c4994195d3894a27a8208.tar.gz zsh-fd25b24df6b4f098944c4994195d3894a27a8208.tar.xz zsh-fd25b24df6b4f098944c4994195d3894a27a8208.zip |
use compadd -[ak] (11549)
Diffstat (limited to 'Completion/Builtins/_hash')
-rw-r--r-- | Completion/Builtins/_hash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Builtins/_hash b/Completion/Builtins/_hash index de8c1887c..250e119b9 100644 --- a/Completion/Builtins/_hash +++ b/Completion/Builtins/_hash @@ -28,11 +28,11 @@ if [[ $state = hashval ]]; then _wanted -C value files expl directories _path_files -/ else _wanted -C name named-directories expl 'named directory' \ - compadd -q -S '=' - "${(@k)nameddirs}" + compadd -q -S '=' -k nameddirs fi elif compset -P 1 '*='; then _wanted -C value values expl 'executable file' _files -g '*(-*)' else - _wanted -C name commands expl command compadd -q -S '=' - "${(@k)commands}" + _wanted -C name commands expl command compadd -q -S '=' -k commands fi fi |