From dfc9214984d81f19de2ca7cd3ce7ba102165440b Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Wed, 28 Sep 2016 18:11:19 +0000 Subject: 39480: _reportbug: Complete absolute filenames, too. --- ChangeLog | 5 +++++ Completion/Debian/Command/_bug | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d1a83b4ad..9df255631 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-09-30 Daniel Shahaf + + * 39480: Completion/Debian/Command/_bug: _reportbug: Complete + absolute filenames, too. + 2016-09-30 Barton E. Schaefer * unposted: Doc/Zsh/builtins.yo: update or remove references to diff --git a/Completion/Debian/Command/_bug b/Completion/Debian/Command/_bug index 2dc14d488..436d294f9 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[@]" ;; -- cgit 1.4.1