about summary refs log tree commit diff
path: root/Completion/Linux
diff options
context:
space:
mode:
authorEric Cook <illua@users.sourceforge.net>2017-12-25 21:15:24 -0500
committerEric Cook <illua@users.sourceforge.net>2018-01-02 14:38:03 -0500
commit99cf61fd4211dcb99142f683230947481c05eb93 (patch)
treec834f5f0880cc6b5dbafed2828e3800b235c7506 /Completion/Linux
parent3c24adb2edcf8c7cd36e7bb90add9611f37f48d4 (diff)
downloadzsh-99cf61fd4211dcb99142f683230947481c05eb93.tar.gz
zsh-99cf61fd4211dcb99142f683230947481c05eb93.tar.xz
zsh-99cf61fd4211dcb99142f683230947481c05eb93.zip
42171: prevent parameters of various parameters from becoming global
Diffstat (limited to 'Completion/Linux')
-rw-r--r--Completion/Linux/Command/_ipset2
-rw-r--r--Completion/Linux/Command/_valgrind4
2 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Linux/Command/_ipset b/Completion/Linux/Command/_ipset
index 0d6afc08e..d05f13caf 100644
--- a/Completion/Linux/Command/_ipset
+++ b/Completion/Linux/Command/_ipset
@@ -1,7 +1,7 @@
 #compdef ipset
 
 local offset=0
-local -a args from_to hash cmds listopts
+local -a args from_to hash cmds listopts addopts
 
 _set_types () {
 	_values -S \  "Set type" \
diff --git a/Completion/Linux/Command/_valgrind b/Completion/Linux/Command/_valgrind
index 0284ff880..1ae228c94 100644
--- a/Completion/Linux/Command/_valgrind
+++ b/Completion/Linux/Command/_valgrind
@@ -1,8 +1,8 @@
 #compdef valgrind -value-,VALGRIND_OPTS,-default-
 
 local curcontext="$curcontext" state line
-local -a cmd common common_mem_null \
-  args args_{addrcheck,memcheck,cachegrind,helgrind,lackey,massif,none}
+local -a cmd common common_{mem_null,read_varinfo}
+local -a args args_{addrcheck,memcheck,cachegrind,helgrind,lackey,massif,none}
 
 cmd=(
   '1:command name:_command_names -e'