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