[Bash-completion-commits] ./current r1176: Fix `apt-cache showsrc` completing only on source package names
David Paleino
d.paleino at gmail.com
Sat Sep 6 17:28:52 UTC 2008
------------------------------------------------------------
revno: 1176
committer: David Paleino <d.paleino at gmail.com>
branch nick: current
timestamp: Sat 2008-09-06 19:28:52 +0200
message:
Fix `apt-cache showsrc` completing only on source package names
(Closes: #361535)
modified:
bash_completion
debian/changelog
-------------- next part --------------
=== modified file 'bash_completion'
--- a/bash_completion 2008-09-06 16:12:52 +0000
+++ b/bash_completion 2008-09-06 17:28:52 +0000
@@ -2210,6 +2210,13 @@
return 0
;;
+ showsrc)
+ COMPREPLY=( $( apt-cache dumpavail | \
+ grep "^Source: $cur" | sort | \
+ uniq | cut -f2 -d" " ) )
+ return 0
+ ;;
+
*)
COMPREPLY=( $( apt-cache pkgnames $cur 2> /dev/null ) )
return 0
=== modified file 'debian/changelog'
--- a/debian/changelog 2008-09-06 16:12:52 +0000
+++ b/debian/changelog 2008-09-06 17:28:52 +0000
@@ -13,9 +13,11 @@
* Added .epub to unzip|zipinfo completion (Closes: #492476)
* Added ssh-copy-id completion (Closes: #491856)
* Bogus completion when mounting subdirs fixed (Closes: #322238)
+ * Fix `apt-cache showsrc` completing only on source package names
+ (Closes: #361535)
* debian/links fixed (Closes: #494292)
- -- David Paleino <d.paleino at gmail.com> Sat, 06 Sep 2008 18:12:16 +0200
+ -- David Paleino <d.paleino at gmail.com> Sat, 06 Sep 2008 19:28:12 +0200
bash-completion (20080705) unstable; urgency=low
More information about the Bash-completion-commits
mailing list