1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-21 19:11:30 +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)
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