summaryrefslogtreecommitdiffstats
path: root/bash_completion
diff options
context:
space:
mode:
Diffstat (limited to 'bash_completion')
-rw-r--r--bash_completion8
1 files changed, 8 insertions, 0 deletions
diff --git a/bash_completion b/bash_completion
index 92dae8c..7a69cc0 100644
--- a/bash_completion
+++ b/bash_completion
@@ -83,6 +83,14 @@ _quilt()
;;
esac
;;
+ edit)
+ case $prev in
+ *)
+ _filedir
+ COMPREPLY=( ${COMPREPLY[@]:-} $( compgen -W "-h" -- $cur ) )
+ ;;
+ esac
+ ;;
files)
COMPREPLY=( $( compgen -W "-v $patches" -- $cur ) )
;;