From 6ba68941e82e51c78109859613edb48b5a2f721d Mon Sep 17 00:00:00 2001 From: Nicolai Skogheim Date: Fri, 24 Jul 2015 17:51:33 +0200 Subject: [PATCH] Add completion for more options to effort --- etc/bash_completion.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/etc/bash_completion.sh b/etc/bash_completion.sh index fb780e0..4b5bedc 100644 --- a/etc/bash_completion.sh +++ b/etc/bash_completion.sh @@ -61,7 +61,18 @@ _git_delete_tag(){ } _git_effort(){ - __gitcomp "--above" + __git_has_doubledash && return + + case "$cur" in + --*) + __gitcomp " + --above + $__git_log_common_options + $__git_log_shortlog_options + " + return + ;; + esac } _git_extras(){