aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2008-12-30 08:13:25 +0100
committerAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2008-12-30 08:13:25 +0100
commitb4efb24ab50b6d961129b55294119be4c3a67fec (patch)
tree77d89ee8bfd3fad366edcc441b11488fbd11b80d
parentf3b029ecb15111b372fab6d8ddd877fdfb161297 (diff)
downloadpaludis-b4efb24ab50b6d961129b55294119be4c3a67fec.tar.gz
paludis-b4efb24ab50b6d961129b55294119be4c3a67fec.tar.xz
zsh-completion: Don't pollute global namespace.
-rw-r--r--zsh-completion/_cave2
1 files changed, 2 insertions, 0 deletions
diff --git a/zsh-completion/_cave b/zsh-completion/_cave
index cfa9e1c..32db9f8 100644
--- a/zsh-completion/_cave
+++ b/zsh-completion/_cave
@@ -7,6 +7,8 @@
_cave()
{
local -a _cave_arguments _cave_commands
+ local cmd
+
_cave_arguments=(
'(-E --environment)'{-E,--environment}'[Environment specification]:environment specification: '
'--log-level[Specify the log level]:log level:((debug\:"Show debug output (noisy)"