diff options
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 |