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/_ri | |
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/_ri')
-rw-r--r-- | Completion/Unix/Command/_ri | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_ri b/Completion/Unix/Command/_ri index feb10ec91..070f46ac2 100644 --- a/Completion/Unix/Command/_ri +++ b/Completion/Unix/Command/_ri @@ -3,7 +3,7 @@ local curcontext="$curcontext" state line ret=1 typeset -A opt_args -_arguments \ +_arguments -C \ '(- *)'{-h,--help}'[print help information and exit]' \ '(- *)'{-v,--version}'[display the version of ri]' \ '*'{-d,--doc-dir}'[directory to search for documentation]:ri doc directory:_files -/' \ @@ -42,8 +42,6 @@ if [[ "$state" = ri-name ]]; then if compset -P '?*(::|\#|.)'; then class_dir=${IPREFIX//(::|\#|.)/\/} - #else - # : fi esc_name=${${(Q)PREFIX}//(#b)([^A-Za-z0-9_])/$(printf %%%x ${(qq)match[1]})} |