zsh-workers
 help / color / mirror / code / Atom feed
e84871cc4bc793f67098ecb271a1087b3c8cf8b1 blob 509 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 
#autoload

# This function is used to generate file names for Debian package files (.deb
# and friends). In addition to the options supported by _files, it understands
# the following:
#
#   -c  Include .changes and .dsc files

local -a _expl _fopts _c _exts=( deb ddeb udeb )

zparseopts -a _fopts -D -E - \
  c=_c 1 2 F+: J+: M+: n P+: q r+: R+: S+: V+: W+: X+:

(( $#_c )) && _exts+=( changes dsc )

_description files _expl 'Debian package'
_files "${(@)_fopts}" "${(@)_expl}" -g "*.(${(j<|>)_exts})(-.)"
debug log:

solving e84871cc4 ...
found e84871cc4 in https://git.vuxu.org/mirror/zsh/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).