* [PATCH] _reportbug: Complete absolute filenames, too.
@ 2016-09-28 18:11 Daniel Shahaf
0 siblings, 0 replies; only message in thread
From: Daniel Shahaf @ 2016-09-28 18:11 UTC (permalink / raw)
To: zsh-workers
---
Completion/Debian/Command/_bug | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Completion/Debian/Command/_bug b/Completion/Debian/Command/_bug
index 2dc14d4..436d294 100644
--- a/Completion/Debian/Command/_bug
+++ b/Completion/Debian/Command/_bug
@@ -7,7 +7,6 @@ _bug_commonargs=(
'-m[maintainer-only]'
'-p[print to stdout instead of mail]'
'-h[help]'
- '*:package:_deb_packages installed'
)
_rb_commonargs=(
@@ -29,6 +28,7 @@ case "$service" in
'-v[version]' \
'-x[do not cc submitter]' \
'-z[send configs verbatim]' \
+ '*:package:_deb_packages installed' \
"$_bug_commonargs[@]"
;;
reportbug)
@@ -92,6 +92,7 @@ case "$service" in
'(--paranoid)--no-paranoid' \
'--body=:message body string' \
'--body-file=:message body file:_files' \
+ '*:package: _alternative "packages::_deb_packages installed" "files::{ [[ \$PREFIX[1] == / ]] && _files }"' \
"$_bug_commonargs[@]" \
"$_rb_commonargs[@]"
;;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-28 18:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-28 18:11 [PATCH] _reportbug: Complete absolute filenames, too Daniel Shahaf
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).