- _cvs(): fix bug that caused null completion list in 'cvs diff'

This commit is contained in:
ianmacd 2002-05-15 17:43:47 +00:00
parent c59f761dd3
commit 281d1b76db

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05a
#
# $Id: bash_completion,v 1.317 2002/05/14 15:54:38 ianmacd Exp $
# $Id: bash_completion,v 1.318 2002/05/15 19:43:47 ianmacd Exp $
#
# Copyright (C) Ian Macdonald <ian@caliban.org>
#
@ -1011,7 +1011,7 @@ _cvs()
_longopt diff
else
get_entries
COMPREPLY=( $entries )
COMPREPLY=( ${entries[@]} )
fi
;;
remove)
@ -1430,7 +1430,6 @@ complete -F _apt_cache $filenames apt-cache
# Debian Linux aptitude(1) completion
#
have aptitude && {
_comp-dpkg-hold-packages()
{
grep-dctrl -r -P -s package,status "^$1" /var/lib/dpkg/status \