From 86699261ba0337cac77693b0d2e505d7d108a565 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Mon, 22 Feb 2010 00:34:32 +0000 Subject: 27744: completion for pbuilder. --- Completion/Debian/Command/_pbuilder | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Completion/Debian/Command/_pbuilder (limited to 'Completion') diff --git a/Completion/Debian/Command/_pbuilder b/Completion/Debian/Command/_pbuilder new file mode 100644 index 000000000..225744f23 --- /dev/null +++ b/Completion/Debian/Command/_pbuilder @@ -0,0 +1,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 karmic lenny lucid potato sarge sid squeeze warty woody' \ + '--architecture:architecture:(alpha amd64 armel hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc)' \ + '--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 -- cgit 1.4.1