about summary refs log tree commit diff
path: root/Completion/Base/_command_names
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Base/_command_names')
-rw-r--r--Completion/Base/_command_names2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Base/_command_names b/Completion/Base/_command_names
index 141e30614..755e5ef15 100644
--- a/Completion/Base/_command_names
+++ b/Completion/Base/_command_names
@@ -8,7 +8,7 @@ local args defs
 
 defs=(
   'commands:external command:compadd - ${(@k)commands}'
-  'executables:executable file or directory:_path_files -/g \*\(\*\)'
+  'executables:executable file or directory:_path_files -/g \*\(-\*\)'
 )
 
 if [[ "$1" = -e ]]; then