mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-26 20:31:15 +01:00
git: properly indent ggfl function (#7556)
Fixes (probably MacOS) issue: > ggfl zsh: command not found: ggfl
This commit is contained in:
parent
ea6ec09b9c
commit
932d611c90
1 changed files with 2 additions and 2 deletions
|
@ -112,8 +112,8 @@ ggf() {
|
||||||
git push --force origin "${b:=$1}"
|
git push --force origin "${b:=$1}"
|
||||||
}
|
}
|
||||||
ggfl() {
|
ggfl() {
|
||||||
[[ "$#" != 1 ]] && local b="$(git_current_branch)"
|
[[ "$#" != 1 ]] && local b="$(git_current_branch)"
|
||||||
git push --force-with-lease origin "${b:=$1}"
|
git push --force-with-lease origin "${b:=$1}"
|
||||||
}
|
}
|
||||||
compdef _git ggf=git-checkout
|
compdef _git ggf=git-checkout
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue