1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-24 20:41:31 +01:00

zsh: fix git completions for gbD/gbd

This commit is contained in:
bretello 2022-12-30 16:01:16 +01:00
parent ff696ac5db
commit fd05f479d9
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -111,7 +111,7 @@ function gbd() {
g branch -d $(gb | fzf -m) g branch -d $(gb | fzf -m)
fi fi
} }
compdef "__git_completion_wrapper __git_recent_branches" gbd
_disable_alias gbD _disable_alias gbD
function gbD() { function gbD() {
@ -121,3 +121,4 @@ function gbD() {
g branch -D $(gb | fzf -m) g branch -D $(gb | fzf -m)
fi fi
} }
compdef "__git_completion_wrapper __git_recent_branches" gbD