diff options
author | David O'Shaughnessy <drgibbon@users.noreply.github.com> | 2018-06-01 01:38:52 +1000 |
---|---|---|
committer | Slack Coder <slackcoder@server.ky> | 2024-08-16 05:43:33 -0500 |
commit | 32768f3aab56dad9c63a9e1db07fd3a1dd7adc6a (patch) | |
tree | 98c0c9fcd647de73be47d8f66ecc6f3b3890c2fc /completions/zsh/_sboconfig | |
parent | 2e1a65c319cb2ee864b11bbf2fa2351aa6060759 (diff) | |
download | sbotools2-32768f3aab56dad9c63a9e1db07fd3a1dd7adc6a.tar.xz |
initial commit zsh completions
Diffstat (limited to 'completions/zsh/_sboconfig')
-rw-r--r-- | completions/zsh/_sboconfig | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/completions/zsh/_sboconfig b/completions/zsh/_sboconfig new file mode 100644 index 0000000..6485f56 --- /dev/null +++ b/completions/zsh/_sboconfig @@ -0,0 +1,25 @@ +#compdef sboconfig + +# sbotools: https://pink-mist.github.io/sbotools/ + +_arguments \ + - info \ + '(-)'{-h,--help}'[Show help.]:' \ + '(-)'{-v,--version}'[Show version.]:' \ + '(-)'{-l,--list}'[List current configuration options (including unmodified defaults).]:' \ + - commands \ + '(-c --noclean)'{-c,--noclean}'[If TRUE, then do not clean working directories after build.]:clean work dirs?:((TRUE\:"Clean works directories" FALSE\:"Keep work directories"))' \ + '(-d --distclean)'{-d,--distclean}'[If TRUE, then remove source code after building.]:clean source?:((TRUE\:"Remove source" FALSE\:"Keep source"))' \ + '(-j --jobs)'{-j,--jobs}'[Number fed to -j# for make.]:number of jobs (make):()' \ + '(-p --pkg-dir)'{-p,--pkg-dir}'[Directory to store built packages in.]:package directory:_files -/' \ + '(-s --sbo-home)'{-s,--sbo-home}'[Directory for SBo tree (default /usr/sbo).]:SBo home dir:_files -/' \ + '(-o --local-overrides)'{-o,--local-overrides}'[Directory for local SlackBuild overrides.]:overrides directory:_files -/' \ + '(-V --slackware-version)'{-V,--slackware-version}'[Use SBo repo for this version (instead of /etc/slackware-version).]:Slackware version:()' \ + '(-r --repo)'{-r,--repo}'[Use git/rsync repo at URL instead of the SBo repo for your SLACKWARE_VERSION.]:repo URL:()' \ + && return 0 + +return 1 + +# Local Variables: +# mode: sh +# End: |