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/Debian/Command/_make-kpkg | |
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/Debian/Command/_make-kpkg')
-rw-r--r-- | Completion/Debian/Command/_make-kpkg | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Debian/Command/_make-kpkg b/Completion/Debian/Command/_make-kpkg index c079d9aa0..55adf882f 100644 --- a/Completion/Debian/Command/_make-kpkg +++ b/Completion/Debian/Command/_make-kpkg @@ -1,9 +1,9 @@ #compdef make-kpkg -local context state line +local curcontext="$curcontext" state line typeset -A opt_args -_arguments \ +_arguments -C \ '--help[display help message]' \ '--revision[change Debian revision number]:number:' \ '--append-to-version[specify additional kernel sub-version]:suffix:' \ @@ -45,7 +45,7 @@ _arguments \ configure\:"configure the kernel" \ debian\:"creates the debian/ directory" \ libc-kheaders\:"create the kernel headers package needed by libc" \ - ))' && return 0 + ))' && return case "$state" in (addedmodules) |