diff options
author | Clint Adams <clint@users.sourceforge.net> | 2005-11-07 16:49:33 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2005-11-07 16:49:33 +0000 |
commit | 17198555f5d11435838ef52b873aa7ba495f56e2 (patch) | |
tree | e848db527b9f1562da102c6db35ef8f1a3dd6f5e /Completion | |
parent | a3d4752bc42cdd1c2898a2bd3d79f5a28623f249 (diff) | |
download | zsh-17198555f5d11435838ef52b873aa7ba495f56e2.tar.gz zsh-17198555f5d11435838ef52b873aa7ba495f56e2.tar.xz zsh-17198555f5d11435838ef52b873aa7ba495f56e2.zip |
21989: completion for dpkg-cross.
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Debian/Command/_dpkg-cross | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Completion/Debian/Command/_dpkg-cross b/Completion/Debian/Command/_dpkg-cross new file mode 100644 index 000000000..7d890827c --- /dev/null +++ b/Completion/Debian/Command/_dpkg-cross @@ -0,0 +1,22 @@ +#compdef dpkg-cross + +local _dpkgcross_arches + +_dpkgcross_arches=(/etc/dpkg-cross/cross-config.*(N)) +_dpkgcross_arches=(${${_dpkgcross_arches#*.}:-alpha amd64 common cygwin-i386 gnu hppa i386 linux m32r m68k mips powerpc sh sh3 sh3eb sh4 sh4eb w32}) + +_arguments \ + '(-h --help)'{-h,--help}'[show summary of options]' \ + '(-v --verbose)'{-v,--verbose}'[be more verbose]' \ + '(-q --quiet)'{-q,--quiet}'[be more quiet]' \ + '(-a --arch)'{-a,--arch}':architecture:('"$_dpkgcross_arches"')' \ + '(-i --install)'{-i,--install}'[install packages]' \ + '(-A --convert-anyway)'{-A,--convert-anyway}'[convert package even if not useful]' \ + '(-b --build)'{-b,--build}'[just build but do not install]' \ + '(-r --remove)'{-r,--remove}'[remove packages]' \ + '(-s --status)'{-s,--status}'[print status of named packages]' \ + '(-l --list)'{-l,--list}'[print short status of named packages or patterns]' \ + '(-L --list-files)'{-L,--list-files}'[list files belonging to named packages]' \ + '(-u --update)'{-u,--update}'[update current cross-inst]' \ + '(-Q --query)'{-Q,--query}'[print available update packages]' \ + '*:package or path or pattern:_files' |