Package: bash
Version: 3.0-16
Severity: normal
Tags: patch

Unfortunately there is no package-completion for "aptitude show", like
"apt-cache show" has.

Patch:

--- bash_completion.old 2005-09-10 00:43:27.000000000 +0200
+++ bash_completion     2005-09-10 00:30:56.000000000 +0200
@@ -2165,7 +2165,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|forbid-version|purge|remove|show)
 ]]; then
                special=${COMP_WORDS[i]}
            fi
            #exclude some mutually exclusive options
@@ -2175,7 +2175,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
                   ;;

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)

Versions of packages bash depends on:
ii  base-files                    3.1.7      Debian base system miscellaneous f
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libncurses5                   5.4-9      Shared libraries for terminal hand
ii  passwd                        1:4.0.3-39 change and administer password and

bash recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to