diff options
Diffstat (limited to 'bash_completion')
-rw-r--r-- | bash_completion | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/bash_completion b/bash_completion index 6356d22..a6502f8 100644 --- a/bash_completion +++ b/bash_completion @@ -132,8 +132,15 @@ _quilt_completion() esac ;; annotate) - _quilt_comfile - COMPREPLY=( ${COMPREPLY[@]:-} $( compgen -W "-h" -- $cur ) ) + case $prev in + -p) + COMPREPLY=( $( compgen -W "$(quilt applied)" -- $cur ) ) + ;; + *) + _quilt_comfile + COMPREPLY=( ${COMPREPLY[@]:-} $( compgen -W "-p -h" -- $cur ) ) + ;; + esac ;; applied) COMPREPLY=( $( compgen -W "-h $(quilt applied)" -- $cur ) ) |