diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Completion/Unix/Command/_env | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index 6dbb99ba9..9fa62449c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,6 @@ 2009-11-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - * Benjamin R. Haskell: users/14565: + * Benjamin R. Haskell: users/14565, 27399: Completion/Unix/Command/_env: argument problem. 2009-11-11 Barton E. Schaefer <schaefer@zsh.org> @@ -12341,5 +12341,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.4811 $ +* $Revision: 1.4812 $ ***************************************************** 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 |