summaryrefslogtreecommitdiff
path: root/Completion/Debian/Command/_debuild
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2018-08-27 13:31:04 +0200
committerAxel Beckert <abe@deuxchevaux.org>2018-08-27 13:31:04 +0200
commit719a715614f2182a76b30ad27a327d70a86f34f1 (patch)
treea437eb29da8035bf7c2e30506c08fe6f15719871 /Completion/Debian/Command/_debuild
parent7da8d19c224860ae4d6aa3f077fca7f734f20d88 (diff)
parentef61918398517473b9b594690a3be375f607cebe (diff)
downloadzsh-719a715614f2182a76b30ad27a327d70a86f34f1.tar.gz
zsh-719a715614f2182a76b30ad27a327d70a86f34f1.zip
Merge tag 'zsh-5.5.1-test-2' into debian
Test release: 5.5.1-test-2.
Diffstat (limited to 'Completion/Debian/Command/_debuild')
-rw-r--r--Completion/Debian/Command/_debuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/Completion/Debian/Command/_debuild b/Completion/Debian/Command/_debuild
new file mode 100644
index 000000000..5b1d0ea37
--- /dev/null
+++ b/Completion/Debian/Command/_debuild
@@ -0,0 +1,20 @@
+#compdef debuild
+
+local ign noc
+
+(( $#words > 2 )) && ign='!'
+(( CURRENT != 2 )) && noc='!'
+
+_arguments \
+ "${ign}(- 1 *)"{-h,--help}'[display usage information]' \
+ "${ign}(- 1 *)--version[display version and copyright information]" \
+ ${noc}{--no-conf,--noconf}"[don't read devscripts config files]" \
+ {-r-,--rootcmd=}'[specify command used to become root if debuild not setuid root]: : _command_names -e' \
+ '(--preserve-env)*'{-e-,--preserve-envvar=}'[preserve environment variable]:environment variable:_parameters -g "*export*"' \
+ '(-e --preserve-envvar)--preserve-env[preserve all environment vars (except PATH)]' \
+ '*'{-e-,--set-envvar=}'[preserve environment variable]:environment variable:_parameters -g "*export*" -qS=' \
+ '--prepend-path=[prepend to the sanitised PATH]: :_dir_list' \
+ '(-D)-d[skip checking of build dependencies]' \
+ '(-d)-D[force checking of build dependencies]' \
+ '--check-dirname-level[specify how much to check directory names]:level [1]:((0\:never 1\:only\ if\ program\ changes\ directory 2\:always))' \
+ '--check-dirname-regex[specify what constitutes a matching directory name]:perl regex [PACKAGE(-.*)?]'