diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-07 14:37:34 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-07 14:37:34 +0000 |
commit | c5b7a61b52e49b11eac612841fc9cd7d9ed22af9 (patch) | |
tree | e823a4fdb4dd156309593a628ccfb298e4c52bca /Completion/Builtins | |
parent | 99177168447733d4ed986b940537a423ac0d6a13 (diff) | |
download | zsh-c5b7a61b52e49b11eac612841fc9cd7d9ed22af9.tar.gz zsh-c5b7a61b52e49b11eac612841fc9cd7d9ed22af9.tar.xz zsh-c5b7a61b52e49b11eac612841fc9cd7d9ed22af9.zip |
zsh-workers/9262
Diffstat (limited to 'Completion/Builtins')
-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 3cb364d12..05728fb7b 100644 --- a/Completion/Builtins/_hash +++ b/Completion/Builtins/_hash @@ -3,13 +3,13 @@ local expl if [[ "$words[2]" = -*d* ]]; then - if compset -P 1 '*\='; then + if compset -P 1 '*='; then _wanted -C -d-value files && _path_files -g '*(-/)' else _wanted -C -d named-directories expl 'named directory' && compadd "$expl[@]" -q -S '=' - "${(@k)nameddirs}" fi -elif compset -P 1 '*\='; then +elif compset -P 1 '*='; then _wanted -C value values expl 'executable file' && _files "$expl[@]" -g '*(*)' else |