summary refs log tree commit diff
path: root/Completion/Debian/Command/_pbuilder
blob: 9322d036a26f002dcb9c06ca1b0ec4c119fe8add (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#compdef pbuilder

local expl

if (( CURRENT == 2 )); then
  _wanted tag expl 'pbuilder command' \
    compadd create update build execute clean login dumpconfig debuild \
  	--create --update --build --execute --clean --login --dumpconfig --debuild
else
  compset -n 1
  _arguments \
    '--basetgz:location:_files -g "*.tgz(-.)"' \
    '--buildplace:location:_files -/' \
    '--buildresult:location:_files -/' \
    '--mirror:URL:_urls' \
    '--othermirror:URL:_urls' \
    '--distribution:suite:(breezy dapper edgy etch feisty gutsy hardy hoary intrepid jaunty jessie karmic lenny lucid potato sarge sid squeeze warty woody' \
    '--architecture:architecture:i_deb_architectures' \
    '--components:component:(main contrib non-free)' \
    '--override-config' \
    '--hookdir:location:_files -/' \
    '--debbuildopts:dpkg-buildpackage options:' \
    '--logfile:log file:_files' \
    '--binary-arch' \
    '--bindmounts:bind mountpoints:_files -/' \
    '--debootstrapopts:debootstrap options:' \
    '--debootstrap:debootstrap implementation:(debootstrap cdebootstrap)' \
    '--save-after-login' \
    '--save-after-exec' \
    '--autocleanaptcache' \
    '*:source package:_files -g "*.dsc(-.)"'
fi