From 4c64448972154601eca010ec23f14479ddb31f40 Mon Sep 17 00:00:00 2001 From: LM450N Date: Wed, 11 May 2016 11:13:28 +0200 Subject: [PATCH] Fix -n option argument error By removing the whitespace between the "-n" option and the argument value "1", this commit fixes the issue of the "gunwip" alias. fix #5079 --- plugins/git/git.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 95ce1ae26..3b05368f8 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -208,7 +208,7 @@ alias gts='git tag -s' alias gtv='git tag | sort -V' alias gunignore='git update-index --no-assume-unchanged' -alias gunwip='git log -n 1 | grep -q -c "\-\-wip\-\-" && git reset HEAD~1' +alias gunwip='git log -n1 | grep -q -c "\-\-wip\-\-" && git reset HEAD~1' alias gup='git pull --rebase' alias gupv='git pull --rebase -v' alias glum='git pull upstream master'