summaryrefslogtreecommitdiffstats
path: root/bash_completion
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2005-06-22 21:36:23 +0000
committerAndreas Gruenbacher <agruen@suse.de>2005-06-22 21:36:23 +0000
commit8983dd050e04aa16b1fd2783e667826cea9088fa (patch)
treeff5c03aef321e1b8590626dfddb1bffb583da369 /bash_completion
parent704cc62b1cfdd1f9e37f51ffef4ad28920b8a06b (diff)
downloadquilt-8983dd050e04aa16b1fd2783e667826cea9088fa.tar.gz
- annotate: temp file leak; add bash completions (Jean Delvare).
Diffstat (limited to 'bash_completion')
-rw-r--r--bash_completion8
1 files changed, 6 insertions, 2 deletions
diff --git a/bash_completion b/bash_completion
index 0769a4e..82ea88b 100644
--- a/bash_completion
+++ b/bash_completion
@@ -95,8 +95,8 @@ _quilt_completion()
prev=${COMP_WORDS[COMP_CWORD-1]}
# quilt sub commands
- cmds='add applied delete diff edit files fold fork graph grep \
- import new next patches pop previous push refresh remove \
+ 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'
# if no command were given, complete on commands
@@ -131,6 +131,10 @@ _quilt_completion()
;;
esac
;;
+ annotate)
+ _quilt_comfile
+ COMPREPLY=( ${COMPREPLY[@]:-} $( compgen -W "-h" -- $cur ) )
+ ;;
applied)
COMPREPLY=( $( compgen -W "-h $(quilt applied)" -- $cur ) )
;;