Package: bash
Version: 3.0-14
Severity: minor
Tags: patch
This patch adds "|show" in two lines to get "aptitude show" to behave
the same way as "apt-cache show", ie complete filenames.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.28
Locale: LANG=fr_FR, [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages bash depends on:
ii base-files 3.1.2 Debian base system miscellaneous f
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii passwd 1:4.0.3-30.8 Change and administer password and
-- no debconf information
--- bash_completion 2005-02-07 11:00:29.000000000 +0100
+++ bash_completion.aptitude 2005-02-07 10:59:59.000000000 +0100
@@ -2120,7 +2120,7 @@
-Z -v --verbose'
for (( i=0; i < [EMAIL PROTECTED]; i++ )); do
- if [[ ${COMP_WORDS[i]} ==
@(install|reinstall|hold|unhold|markauto|unmarkauto|dist-upgrade|download|forbid-version|purge|remove)
]]; then
+ if [[ ${COMP_WORDS[i]} ==
@(install|reinstall|hold|unhold|markauto|unmarkauto|dist-upgrade|download|show|forbid-version|purge|remove)
]]; then
special=${COMP_WORDS[i]}
fi
#exclude some mutually exclusive options
@@ -2130,7 +2130,7 @@
if [[ -n "$special" ]]; then
case $special in
- @(install|hold|markauto|unmarkauto|dist-upgrade|download))
+ @(install|hold|markauto|unmarkauto|dist-upgrade|download|show))
COMPREPLY=( $( apt-cache pkgnames $cur 2> /dev/null ) )
return 0
;;