diff --git a/bash_completion b/bash_completion index bc9f07f8..80cb701e 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.540 2003/04/08 07:48:47 ianmacd Exp $ +# $Id: bash_completion,v 1.541 2003/04/12 05:05:37 ianmacd Exp $ # # Copyright (C) Ian Macdonald # @@ -1591,7 +1591,7 @@ _apt_cache() if [ "$cur" != show ]; then for (( i=0; i < ${#COMP_WORDS}-1; i++ )); do - if [[ ${COMP_WORDS[i]} == @(add|depends|dotty|policy|show?(pkg)) ]]; then + if [[ ${COMP_WORDS[i]} == @(add|depends|dotty|policy|show?(pkg|src)) ]]; then special=${COMP_WORDS[i]} fi done @@ -1636,7 +1636,7 @@ _apt_cache() COMPREPLY=( $( compgen -W 'add gencaches showpkg show stats \ dumpavail unmet check search dump dotty policy \ - depends pkgnames' -- $cur ) ) + depends pkgnames showsrc' -- $cur ) ) fi