about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-01-06 14:15:17 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-01-06 14:15:17 +0000
commitb993ded9ee8c33ac8e40b231ab1ed6dc6a0ac254 (patch)
tree5aafe6ddf71b6fc888f0f5c9ef571f82c9ec26ff
parent777ececb70e17847dd012e52b54741acce715624 (diff)
downloadzsh-b993ded9ee8c33ac8e40b231ab1ed6dc6a0ac254.tar.gz
zsh-b993ded9ee8c33ac8e40b231ab1ed6dc6a0ac254.tar.xz
zsh-b993ded9ee8c33ac8e40b231ab1ed6dc6a0ac254.zip
zsh-workers/9245
-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