From ecc6c5aed0534129d0270d9d03ff1f3a5f8f278b Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Thu, 11 Aug 2005 16:44:12 +0000 Subject: add completion of the header command [Joe Green] --- bash_completion | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'bash_completion') diff --git a/bash_completion b/bash_completion index 0136f51..d0fde74 100644 --- a/bash_completion +++ b/bash_completion @@ -96,8 +96,8 @@ _quilt_completion() # quilt sub commands cmds='add annotate applied delete diff edit files fold fork graph \ - grep import new next patches pop previous push refresh remove \ - rename series setup snapshot top unapplied' + grep header import new next patches pop previous push refresh \ + remove rename series setup snapshot top unapplied' # if no command were given, complete on commands if [[ $COMP_CWORD -eq 1 ]] ; then @@ -185,6 +185,9 @@ _quilt_completion() _longopt grep COMPREPLY=( ${COMPREPLY[@]:-} $( compgen -W "-h" -- $cur ) ) ;; + header) + COMPREPLY=( $( compgen -W "-a -e -h -r --backup --strip-diffstat --strip-trailing-whitespace $(quilt series)" -- $cur ) ) + ;; import) case $prev in -p) -- cgit