about summary refs log tree commit diff
path: root/Completion/Builtins/_hash
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Builtins/_hash')
-rw-r--r--Completion/Builtins/_hash2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Builtins/_hash b/Completion/Builtins/_hash
index 05728fb7b..c8a51a38a 100644
--- a/Completion/Builtins/_hash
+++ b/Completion/Builtins/_hash
@@ -11,7 +11,7 @@ if [[ "$words[2]" = -*d* ]]; then
   fi
 elif compset -P 1 '*='; then
   _wanted -C value values expl 'executable file' &&
-      _files "$expl[@]" -g '*(*)'
+      _files "$expl[@]" -g '*(-*)'
 else
   _wanted -C name commands expl command &&
       compadd "$expl[@]" -q -S '=' - "${(@k)commands}"