diff options
author | Oliver Kiddle <opk@zsh.org> | 2014-10-21 20:53:51 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2014-10-21 20:53:51 +0200 |
commit | 5e592fd9b0d0d5a0532ffa57667b3f5e7c09fa92 (patch) | |
tree | 2af5203a95aac5a327f8cd7fd9e9a4e1f207192a /Completion/Unix/Command/_pgrep | |
parent | af9f623273eb994d36d3f02ed37bac6edb10c7cb (diff) | |
download | zsh-5e592fd9b0d0d5a0532ffa57667b3f5e7c09fa92.tar.gz zsh-5e592fd9b0d0d5a0532ffa57667b3f5e7c09fa92.tar.xz zsh-5e592fd9b0d0d5a0532ffa57667b3f5e7c09fa92.zip |
33485: fixes for zstyle context handling
Diffstat (limited to 'Completion/Unix/Command/_pgrep')
-rw-r--r-- | Completion/Unix/Command/_pgrep | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_pgrep b/Completion/Unix/Command/_pgrep index 95d0ea284..3af55a379 100644 --- a/Completion/Unix/Command/_pgrep +++ b/Completion/Unix/Command/_pgrep @@ -1,6 +1,6 @@ #compdef pgrep pkill -local context state line ret=1 expl +local curcontext="$curcontext" state line ret=1 expl typeset -A opt_args typeset -a arguments @@ -66,7 +66,7 @@ esac arguments=( ${(M)arguments:#(|\*)(|\(*\))-[$optchars]*} '*:process name:->pname') -_arguments -s -w $arguments && ret=0 +_arguments -C -s -w $arguments && ret=0 case $state in (tty) |