From fd05f479d9c6c3fe29067ce4c2361f307e55354c Mon Sep 17 00:00:00 2001 From: bretello Date: Fri, 30 Dec 2022 16:01:16 +0100 Subject: [PATCH] zsh: fix git completions for gbD/gbd --- functions/git.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/git.zsh b/functions/git.zsh index cee5a67..65583a5 100644 --- a/functions/git.zsh +++ b/functions/git.zsh @@ -111,7 +111,7 @@ function gbd() { g branch -d $(gb | fzf -m) fi } - +compdef "__git_completion_wrapper __git_recent_branches" gbd _disable_alias gbD function gbD() { @@ -121,3 +121,4 @@ function gbD() { g branch -D $(gb | fzf -m) fi } +compdef "__git_completion_wrapper __git_recent_branches" gbD