summaryrefslogtreecommitdiffstats
path: root/bash_completion
diff options
context:
space:
mode:
authorMartin Quinson <mquinson@debian.org>2005-08-11 16:44:12 +0000
committerMartin Quinson <mquinson@debian.org>2005-08-11 16:44:12 +0000
commitecc6c5aed0534129d0270d9d03ff1f3a5f8f278b (patch)
tree8d26452ebb663ae05613bfb6e8d97d2ea85782f5 /bash_completion
parented3c2082063215a776da5ab76d95757d2f81c5e5 (diff)
downloadquilt-ecc6c5aed0534129d0270d9d03ff1f3a5f8f278b.tar.gz
add completion of the header command [Joe Green]
Diffstat (limited to 'bash_completion')
-rw-r--r--bash_completion7
1 files changed, 5 insertions, 2 deletions
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)