diff options
author | Eric Cook <illua@users.sourceforge.net> | 2017-12-25 21:15:24 -0500 |
---|---|---|
committer | Eric Cook <illua@users.sourceforge.net> | 2018-01-02 14:38:03 -0500 |
commit | 99cf61fd4211dcb99142f683230947481c05eb93 (patch) | |
tree | c834f5f0880cc6b5dbafed2828e3800b235c7506 /Completion/Linux | |
parent | 3c24adb2edcf8c7cd36e7bb90add9611f37f48d4 (diff) | |
download | zsh-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/_ipset | 2 | ||||
-rw-r--r-- | Completion/Linux/Command/_valgrind | 4 |
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' |