summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorBartlomiej Tartanus <bartektartanus@gmail.com>2019-01-30 16:22:14 +0100
committerMarc Cornellà <marc.cornella@live.com>2019-01-30 16:22:14 +0100
commit932d611c90b979078f4cdd37a20e2bf12e400a84 (patch)
tree0e0eedf7b491e7960e717d230d6f7f162041631c /plugins
parentea6ec09b9c7752ee0e074659ca0689d0af053e5a (diff)
downloadzsh-932d611c90b979078f4cdd37a20e2bf12e400a84.tar.gz
zsh-932d611c90b979078f4cdd37a20e2bf12e400a84.tar.bz2
zsh-932d611c90b979078f4cdd37a20e2bf12e400a84.zip
git: properly indent ggfl function (#7556)
Fixes (probably MacOS) issue: > ggfl zsh: command not found: ggfl
Diffstat (limited to 'plugins')
-rw-r--r--plugins/git/git.plugin.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
index 2251bae2e..12400ede4 100644
--- a/plugins/git/git.plugin.zsh
+++ b/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