Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
completion: proposal for Completion/Debian/_dscverify
- X-seq: zsh-workers 45524
- From: Romain Porte <debian@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: completion: proposal for Completion/Debian/_dscverify
- Date: Mon, 9 Mar 2020 15:45:52 +0100
- Autocrypt: addr=debian@xxxxxxxxxxxx; keydata= mQINBFzVUjIBEAC3qPN6CLT+1RrEha0U3Mrp46NaLE17TW+uVXJ9prS+wEvcK3EgCnjAKvnW D9QxMJlBIaK6UM82ch4VOWu9MwidUmC3aH7awj1ipxm933yG/dL5wVNnzRj1Vg76hSBlObwe YDRIm61wdhyLMVo4ILMjmM6jmzPGt6FntAsAsnF0T6g7cWMoWG3vJhfOQZOE1AUhquTIhGBw ZjZ8Mspko/70P5mwCv+j4h2ZGCecB+7w4QZ5cbpIbSD1NbN2gsdk2KnGKQI2wqpEc3ZBacQq t7fucypG/4m7w9MUqh+fB+V6T9YYE8i9S+VqNEaSIf17xF/p5QxYTeSjMRYb/j5NlGQJzZ0F TVP1Osv2urtPyvvG1npOElCSDQsOLy/oYea1P88MR0ytIsN5opSdHdDiaRxTTOQeaHTn0btG 1j/uAcWh772+jdzBJYEb6Dx4hrHOmx/pImylxiMBf7g80Ufba2OwT2Tc/Rblq1A6Ltwbm3Ac MGiG2T71x807UgW37/YdY7F11ArlhuDRoHDc2vyE+JWvrvTc0wQfObOo6z1U4NbnvkgEkW+n BkzYL5LoRh8RGuWu+VNEpbwzoF41Uxs+t75i9zbyZ62ZeSoMSR+vQAoOH5M7hnkHiwTCtgPq 1/utTk5+KcdDplJvI8f3s0tZurnjr9L82LK76iBTloZHUiz/yQARAQABtCJSb21haW4gUG9y dGUgPGRlYmlhbkBtaWNyb2pvZS5vcmc+iQJMBBMBCgA2FiEEFVn37V5flWVPJteHmMgiJ66x 0GcFAl5c8coCGwEECwkIBwQVCgkIBRYCAwEAAh4BAheAAAoJEJjIIieusdBnnIUP/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J004kP2cu1iSya+jkpq1wLwGdNTlxqxjEG/sPV1xvxOmJlltOFqoYa8Smi2Sw9SKaW eiiSr8U7Ng65huzmAcd/NmmZusypBixQ/cUQtzzAynAtUfXehhCf
- Cc: Daniel Shahaf <danielsh@xxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hello dear ZSH workers,
Attached in a proposal of completion for the "dscverify" Debian command
shipped with Debian's devtools package. The file has been reviewed by
Daniel during our initial discussion on the Debian bugtracker [1], but
of course we may have forgotten some details.
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953389
As the other devtools completions are coming from upstream zsh, I think
this completion should also make its way through upstream.
Best regards,
diff -u -N --recursive ../zsh-5.8.orig/Completion/Debian/Command/_dscverify ./Completion/Debian/Command/_dscverify
--- ../zsh-5.8.orig/Completion/Debian/Command/_dscverify 1970-01-01 01:00:00.000000000 +0100
+++ ./Completion/Debian/Command/_dscverify 2020-03-09 15:36:16.206314783 +0100
@@ -0,0 +1,30 @@
+#compdef dscverify
+
+# $ dscverify --version
+# This is dscverify, from the Debian devscripts package, version 2.20.2
+# ...
+
+_dscverify() {
+ local all_opts=(
+ '--help[show the help message and exit]'
+ '--version[show the version + copyright and exit]'
+ '--no-default-keyrings[do not check against the default keyrings]'
+ '*--keyring[add keyring to the list of keyrings used]:keyring:_files -g "*.{kbx,gpg}(-.)"'
+ '(--nosigcheck --no-sig-check -u)'{--nosigcheck,--no-sig-check,-u}'[do not verify the GPG signature]'
+ '--verbose[do not suppress GPG output]'
+ '*:dsc file:_files -g "*.{changes,dsc,buildinfo}(-.)"'
+ )
+
+ local first_only=(
+ '(--no-conf --noconf)'{--no-conf,--noconf}'[do not read the devscripts config file]'
+ )
+
+ if (( CURRENT == 2 )); then
+ all_opts+=($first_only)
+ fi
+
+ _arguments \
+ "$all_opts[@]"
+}
+
+_dscverify "$@"
Attachment:
signature.asc
Description: OpenPGP digital signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author