- apt-cache improvements from savar@gmx.de
This commit is contained in:
parent
6f78a64e15
commit
6e65bcbf65
@ -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 <ian@caliban.org>
|
||||
#
|
||||
@ -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 ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user