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:
parent
ff696ac5db
commit
fd05f479d9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user