Skip to content

Instantly share code, notes, and snippets.

@iwaim
Created February 19, 2010 13:04
Show Gist options
  • Save iwaim/308677 to your computer and use it in GitHub Desktop.
Save iwaim/308677 to your computer and use it in GitHub Desktop.
Zsh Completion file: vbuilder(1)
#compdef vbuilder
typeset -A opt_args
_arguments \
"--version[set \[version\]]:keyword:(4.2 5.0 VineSeed)" \
"--arch[set \[arch\]]:keyword:(i386)" \
"--dist-upgrade[make VineSeed bootstrap via 5.0]" \
"--target[build rpms with \[target\]]" \
"--with-compat32[build rpms with compat32 on bootstrap]" \
"--clean[clean bootstrap of \[version\]]" \
"--build[build bootstrap of \[version\]]" \
"--build-rpm[build \[src.rpm\] on bootstrap]" \
"--install-rpm[install \[arch.rpm\|package\] on bootstrap]" \
"--remove-rpm[remove \[package\] on bootstarp]" \
'1:file:_files' \
&& return 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment