- 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
|
# 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>
|
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||||
#
|
#
|
||||||
@ -1894,7 +1894,7 @@ _apt_cache()
|
|||||||
|
|
||||||
if [ "$cur" != show ]; then
|
if [ "$cur" != show ]; then
|
||||||
for (( i=0; i < ${#COMP_WORDS[@]}-1; i++ )); do
|
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]}
|
special=${COMP_WORDS[i]}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
@ -1939,7 +1939,7 @@ _apt_cache()
|
|||||||
--config-file --option' -- $cur ) )
|
--config-file --option' -- $cur ) )
|
||||||
else
|
else
|
||||||
|
|
||||||
COMPREPLY=( $( compgen -W 'add gencaches showpkg showsrc \
|
COMPREPLY=( $( compgen -W 'add gencaches show showpkg showsrc \
|
||||||
stats dump dumpavail unmet search search \
|
stats dump dumpavail unmet search search \
|
||||||
depends rdepends pkgnames dotty xvcg \
|
depends rdepends pkgnames dotty xvcg \
|
||||||
policy' -- $cur ) )
|
policy' -- $cur ) )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user