about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2012-02-14 17:01:17 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2012-02-14 17:01:17 +0000
commit1fe821a8a12b209ee4a1f7034750043a803b6818 (patch)
tree5182fbaebed29c078590aab46073644fecfa81d6 /Completion
parentf97a208aed62764a60500e07dee1bde4ee75f986 (diff)
downloadzsh-1fe821a8a12b209ee4a1f7034750043a803b6818.tar.gz
zsh-1fe821a8a12b209ee4a1f7034750043a803b6818.tar.xz
zsh-1fe821a8a12b209ee4a1f7034750043a803b6818.zip
30198: fix environ style lookup to be done in conventional manner
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_sudo2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_sudo b/Completion/Unix/Command/_sudo
index 384e9358b..f8543f865 100644
--- a/Completion/Unix/Command/_sudo
+++ b/Completion/Unix/Command/_sudo
@@ -3,7 +3,7 @@
 local curcontext="$curcontext" environ e
 local -a args
 
-zstyle -a "$curcontext" environ environ
+zstyle -a ":completion:${curcontext}:" environ environ
 
 for e in "${environ[@]}"
 do local -x "$e"