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/_sbosnap | |
parent | 2e1a65c319cb2ee864b11bbf2fa2351aa6060759 (diff) | |
download | sbotools2-32768f3aab56dad9c63a9e1db07fd3a1dd7adc6a.tar.xz |
initial commit zsh completions
Diffstat (limited to 'completions/zsh/_sbosnap')
-rw-r--r-- | completions/zsh/_sbosnap | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/completions/zsh/_sbosnap b/completions/zsh/_sbosnap new file mode 100644 index 0000000..16b310a --- /dev/null +++ b/completions/zsh/_sbosnap @@ -0,0 +1,19 @@ +#compdef sbosnap + +# sbotools: https://pink-mist.github.io/sbotools/ + +local -a subcmds +subcmds=('fetch:Download a local copy of the slackbuilds.org tree (to SBO_HOME).' + 'update:Update a previously fetched copy of the SBo tree.') +_describe 'command' subcmds + +_arguments \ + '(-)'{-h,--help}'[Show help.]:' \ + '(-)'{-v,--version}'[Show version.]:' \ + && return 0 + +return 1 + +# Local Variables: +# mode: sh +# End: |