Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] _debcheckout: New completion
- X-seq: zsh-workers 36321
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] _debcheckout: New completion
- Date: Fri, 28 Aug 2015 23:34:40 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=TXd tUx3FE9za81pCMNQ+snq8FZk=; b=FfRmKqgE/9j2r+wroTvFADgbAdNrPi2pKdE n0t+bMGK1/wPy9Cz5hbcYUuC+Uhv0d0Qba+Nb2AxYAOG6Oi+VQJWcyjxKEScncRv YsiCoC9quS0HLlacTrFI/fR8bm8VxugZrycg+84iMyAD4KVB+0lKz4IzkkIadDsX kQIHURKY=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=TX dtUx3FE9za81pCMNQ+snq8FZk=; b=SP5JGJlHGV1lWjESdWlvTw0zFAcq1B4m0Z q+HTXziFzIRj4NILjl+46hzkHI5yLHnB5FBc5jr3aCW8Kt83WppBSotlinmjfAA3 tD4EV4d2XzzrGZh7/4GC0GTghqyhcV83Hanj919qbaDwYnUw+JGWCskmSbdbwT7l oTQQyvju4=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
From Debian's 'devscripts' package.
---
#compdef debcheckout
# The helpstrings use the term 'checkout' (rather than 'clone' or 'branch' or
# 'fork') to be consistent with the name of the tool.
local -a args=(
'(-a --auth)'{-a,--auth}'[rewrite anonymous checkout URLs to authenticated ones]'
'(-p --print -d --details)'{-d,--details}'[print detailed information; do not checkout]'
'(-h --help)'{-h,--help}'[show usage message]'
'(-p --print -d --details)'{-p,--print}'[print summary information; do not checkout]'
'(-P --package)'{-P+,--package=}'[specify package name explicitly (when target is a URL)]:package name:_deb_packages available'
'(-t --type)'{-t+,--type=}'[specify repository type]:repository type:((arch\:Arch bzr\:Bazaar cvs\:CVS darcs\:Darcs git\:Git hg\:Mercurial svn\:Subversion))'
'(-u --username)'{-u+,--username=}'[specify username (implies --auth)]:username: '
\*{-f+,--file=}'[extract named file]:remote filename'
'--source=:policy for .orig.tar.gz file:(never auto download-only always)'
'--git-track=[specify branches to track]:branches (separated by spaces) or '\'\*\'
'1:package or URL: _alternative "_deb_packages available" "_urls"'
'2::destination directory:_path_files -/'
)
_arguments -s -S : "$args[@]"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author