about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Base/_command_names1
-rw-r--r--Completion/Base/_parameter9
2 files changed, 1 insertions, 9 deletions
diff --git a/Completion/Base/_command_names b/Completion/Base/_command_names
index 12caf926f..141e30614 100644
--- a/Completion/Base/_command_names
+++ b/Completion/Base/_command_names
@@ -22,6 +22,7 @@ else
     'aliases:alias:compadd - ${(@k)aliases}'
     'reserved-words:reserved word:compadd - ${(@k)reswords}'
     'jobs:: _jobs -t'
+    'parameters:: _parameters -qS= -r "\n\t\- =["'
   )
 fi
 
diff --git a/Completion/Base/_parameter b/Completion/Base/_parameter
index 1c4d5e014..7a761dea9 100644
--- a/Completion/Base/_parameter
+++ b/Completion/Base/_parameter
@@ -1,12 +1,3 @@
 #compdef -parameter-
 
 _tags parameters && _parameters -e
-
-# Without the `-e' option, we would use the following (see the file
-# Core/_parameters for more enlightenment).
-
-# if [[ "$compstate[insert]" = *menu* ]]; then
-#   _parameters -s ''
-# else
-#   _parameters -s ' '
-# fi