- add edit and unedit to cvs completion

This commit is contained in:
ianmacd 2002-06-21 07:11:32 +00:00
parent ac4bc8c4e4
commit 1e805beec8

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05a
#
# $Id: bash_completion,v 1.364 2002/06/19 17:12:52 ianmacd Exp $
# $Id: bash_completion,v 1.365 2002/06/21 09:11:32 ianmacd Exp $
#
# Copyright (C) Ian Macdonald <ian@caliban.org>
#
@ -978,7 +978,7 @@ _cvs()
@(commit|ci))
mode=commit
;;
@(annotate|diff|@(ex|im)port|history|release|status|update))
@(annotate|diff|@(ex|im)port|history|release|status|update|edit|unedit))
mode=$i
;;
?(r)log)
@ -1112,12 +1112,13 @@ _cvs()
;;
"")
COMPREPLY=( $( compgen -W 'add admin annotate checkout ci co \
commit diff delete export freeze \
get history import log new patch rcs\
rdiff release remove rfreeze rlog \
rm rtag status tag update -H -Q -q \
-b -d -e -f -l -n -t -r -v -w -x \
-z --help --version' -- $cur ) )
commit diff delete edit export \
freeze get history import log new \
patch rcs rdiff release remove \
rfreeze rlog rm rtag status tag \
unedit update -H -Q -q -b -d -e -f \
-l -n -t -r -v -w -x -z --help \
--version' -- $cur ) )
;;
*)
;;