diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-03 10:48:39 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-03 10:48:39 +0000 |
commit | 4777e2acd41ad06d172ff06e2ff989fdeee3e19b (patch) | |
tree | 53c0ec7aab30f9e1ad6cf618be54f0223e608c00 /Completion/Builtins/_hash | |
parent | 438a49c8d7a105b5e0b24eb3f658cad14df841c4 (diff) | |
download | zsh-4777e2acd41ad06d172ff06e2ff989fdeee3e19b.tar.gz zsh-4777e2acd41ad06d172ff06e2ff989fdeee3e19b.tar.xz zsh-4777e2acd41ad06d172ff06e2ff989fdeee3e19b.zip |
zsh-workers/8515
Diffstat (limited to 'Completion/Builtins/_hash')
-rw-r--r-- | Completion/Builtins/_hash | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Builtins/_hash b/Completion/Builtins/_hash index c06d63699..4cb72b09c 100644 --- a/Completion/Builtins/_hash +++ b/Completion/Builtins/_hash @@ -10,7 +10,8 @@ if [[ "$words[2]" = -*d* ]]; then compadd "$expl[@]" -q -S '=' - "${(@k)nameddirs}" fi elif compset -P 1 '*\='; then - _files -/g '*(*)' + _description expl 'executable file' + _files "$expl[@]" -g '*(*)' else _description expl command compadd "$expl[@]" -q -S '=' - "${(@k)commands}" |