git: properly indent ggfl function (#7556)

Fixes (probably MacOS) issue:
> ggfl
zsh: command not found: ggfl
master
Bartlomiej Tartanus 7 years ago committed by Marc Cornellà
parent ea6ec09b9c
commit 932d611c90
  1. 4
      plugins/git/git.plugin.zsh

@ -112,8 +112,8 @@ ggf() {
git push --force origin "${b:=$1}"
}
ggfl() {
[[ "$#" != 1 ]] && local b="$(git_current_branch)"
git push --force-with-lease origin "${b:=$1}"
[[ "$#" != 1 ]] && local b="$(git_current_branch)"
git push --force-with-lease origin "${b:=$1}"
}
compdef _git ggf=git-checkout

Loading…
Cancel
Save