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 ) )