- fix some spurious warnings in CVS completion (patch by Guillaume Rousse
<rousse@ccr.jussieu.fr>)
This commit is contained in:
parent
3d19912684
commit
fe2b11ff26
@ -1,6 +1,6 @@
|
||||
# bash_completion - some programmable completion functions for bash 2.05b
|
||||
#
|
||||
# $Id: bash_completion,v 1.723 2004/07/04 00:20:34 ianmacd Exp $
|
||||
# $Id: bash_completion,v 1.724 2004/07/04 00:23:57 ianmacd Exp $
|
||||
#
|
||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||
#
|
||||
@ -1374,7 +1374,8 @@ _cvs()
|
||||
checkout)
|
||||
if [[ "$cur" != -* ]]; then
|
||||
[ -z "$cvsroot" ] && cvsroot=$CVSROOT
|
||||
COMPREPLY=( $( cvs -d "$cvsroot" co -c | awk '{print $1}' ) )
|
||||
COMPREPLY=( $( cvs -d "$cvsroot" co -c 2> /dev/null | \
|
||||
awk '{print $1}' ) )
|
||||
COMPREPLY=( $( compgen -W '${COMPREPLY[@]}' -- $cur ) )
|
||||
else
|
||||
COMPREPLY=( $( compgen -W '-A -N -P -R -c -f -l -n -p \
|
||||
|
Loading…
x
Reference in New Issue
Block a user