Browse Source

git: properly indent ggfl function (#7556)

Fixes (probably MacOS) issue:
> ggfl
zsh: command not found: ggfl
Bartlomiej Tartanus 6 years ago
parent
commit
932d611c90
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/git/git.plugin.zsh

+ 2 - 2
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