about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-11-15 17:42:09 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-11-15 17:42:09 +0000
commitd1c26dca908ab2dfeae382969994e3301d8d5325 (patch)
tree23a51e2ea57455df5e4ddbe50bdd7e15f2369608 /Completion
parent6383453f57fb471960b603f2c387f502e7c7c77f (diff)
downloadzsh-d1c26dca908ab2dfeae382969994e3301d8d5325.tar.gz
zsh-d1c26dca908ab2dfeae382969994e3301d8d5325.tar.xz
zsh-d1c26dca908ab2dfeae382969994e3301d8d5325.zip
Benjamin R. Haskell: 27399: argument problem in env completion
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_env3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_env b/Completion/Unix/Command/_env
index f38be61b7..96261bba8 100644
--- a/Completion/Unix/Command/_env
+++ b/Completion/Unix/Command/_env
@@ -3,9 +3,10 @@
 if _pick_variant gnu=Free\ Soft unix --version; then
   _arguments \
     '(--ignore-environment -i)'{-i,--ignore-environment}'[start with empty environment]' \
-    '*'{-u,--unset=}':env var to remove:compadd ${(k)parameters[(R)*export*]}' \
+    '*'{-u,--unset=}'[remove variable from the environment]:env var to remove:compadd ${(k)parameters[(R)*export*]}' \
     '--help[help]' \
     '--version[version]' \
+    '(-):command: _command_names -e' \
     '*::arguments: _normal'
 else
   _precommand