diff options
author | 2016-02-29 01:03:53 -0500 | |
---|---|---|
committer | 2016-02-29 01:03:53 -0500 | |
commit | 7cdef856a05d5e956939293752ffa347cb8982d6 (patch) | |
tree | 8c096e88b63d6def7f05e80b9dfa9b34434fc967 | |
parent | zsh-completion: add target stubs for pquery/pmerge (diff) | |
download | pkgcore-7cdef856a05d5e956939293752ffa347cb8982d6.tar.gz pkgcore-7cdef856a05d5e956939293752ffa347cb8982d6.tar.bz2 pkgcore-7cdef856a05d5e956939293752ffa347cb8982d6.zip |
zsh-completion: add comments for zstyles
-rw-r--r-- | shell/zsh/completion/_pkgcore | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/zsh/completion/_pkgcore b/shell/zsh/completion/_pkgcore index e8182d1b5..69776b34f 100644 --- a/shell/zsh/completion/_pkgcore +++ b/shell/zsh/completion/_pkgcore @@ -200,7 +200,9 @@ _pebuild() { case $state in (atom-or-ebuild) + # complete ebuilds before directories zstyle ':completion:*' file-patterns '*%p(^-/):other-files:ebuilds *(-/):directories:directories' + _arguments \ '*:ebuilds:_files -g \*.ebuild' \ && ret=0 @@ -568,7 +570,9 @@ _pmaint() { && ret=0 ;; (digest) + # complete ebuilds before directories zstyle ':completion:*' file-patterns '*%p(^-/):other-files:ebuilds *(-/):directories:directories' + _arguments -C -w -S -s -A '-*' \ $common_output_args \ {'(--repo)-r','(-r)--repo'}'[target repository]:repo:_repos' \ |