diff 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: |