From 6e65bcbf65af40ded2e43dbfc84b1c390d4b8f63 Mon Sep 17 00:00:00 2001 From: ianmacd <> Date: Thu, 14 Oct 2004 14:57:41 +0000 Subject: [PATCH] - apt-cache improvements from savar@gmx.de --- bash_completion | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bash_completion b/bash_completion index 35b1f619..5097828a 100644 --- a/bash_completion +++ b/bash_completion @@ -1,6 +1,6 @@ # bash_completion - some programmable completion functions for bash 2.05b # -# $Id: bash_completion,v 1.751 2004/10/14 09:31:18 ianmacd Exp $ +# $Id: bash_completion,v 1.752 2004/10/14 16:57:41 ianmacd Exp $ # # Copyright (C) Ian Macdonald # @@ -1894,7 +1894,7 @@ _apt_cache() if [ "$cur" != show ]; then for (( i=0; i < ${#COMP_WORDS[@]}-1; i++ )); do - if [[ ${COMP_WORDS[i]} == @(add|depends|dotty|policy|rdepends|show?(pkg|src)) ]]; then + if [[ ${COMP_WORDS[i]} == @(add|depends|dotty|policy|rdepends|show?(pkg|src|)) ]]; then special=${COMP_WORDS[i]} fi done @@ -1939,7 +1939,7 @@ _apt_cache() --config-file --option' -- $cur ) ) else - COMPREPLY=( $( compgen -W 'add gencaches showpkg showsrc \ + COMPREPLY=( $( compgen -W 'add gencaches show showpkg showsrc \ stats dump dumpavail unmet search search \ depends rdepends pkgnames dotty xvcg \ policy' -- $cur ) )