diff options
author | Tim Harder <radhermit@gentoo.org> | 2014-12-19 19:19:42 -0800 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2014-12-19 19:19:42 -0800 |
commit | 468796ec7a55ac15601adc9ee9086daaf01b94c3 (patch) | |
tree | d3053172acefe62bd811fe5e07f2e62652c81c45 | |
parent | _gcc-config: update for gcc-config-1.8 options (diff) | |
download | zsh-completion-468796ec7a55ac15601adc9ee9086daaf01b94c3.tar.gz zsh-completion-468796ec7a55ac15601adc9ee9086daaf01b94c3.tar.bz2 zsh-completion-468796ec7a55ac15601adc9ee9086daaf01b94c3.zip |
_perl-cleaner: initial completion support for perl-cleaner
Based off perl-cleaner-2.18 options.
-rw-r--r-- | src/_perl-cleaner | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/_perl-cleaner b/src/_perl-cleaner new file mode 100644 index 0000000..5f25aaf --- /dev/null +++ b/src/_perl-cleaner @@ -0,0 +1,26 @@ +#compdef perl-cleaner +# perl-cleaner-2.18 + +local arguments + +arguments=( + '(- :)'{--help,-h}'[show help]' + '(- :)'{--version,-V}'[show version]' + '(- :)'{--pretend,-p}"[pretend (don't do anything)]" + '(- :)'{--verbose,-v}'[increase verbosity (may be specified multiple times)]' + '(- :)'{--quiet,-q}'[decrease verbosity]' + "--modules[rebuild perl modules for old installs of perl]" + "--allmodules[rebuild all perl modules]" + "--libperl[rebuild anything linked against libperl]" + "--ph-clean[clean out old ph files from a previous perl]" + "--phupdate[update existing ph files, useful after an upgrade to system parts like the kernel]" + "--phall[short for '--ph-clean --phupdate']" + "--all[short for '--modules --libperl --phall']" + "--reallyall[short for '--allmodules --libperl --phall']" + "--leftovers[shows all files that were not rebuilt]" + '(- :)'{--package-manager,-P}'[use package manager]:package manager:((portage pkgcore paludis))' +) + +_arguments $arguments + +# vim: set et sw=2 ts=2 ft=zsh: |