From a38d37a34a7681dcae26bc788132a60d37e11212 Mon Sep 17 00:00:00 2001 From: Gaetan Semet Date: Fri, 18 Jul 2014 16:07:45 +0200 Subject: [PATCH] fix bug in alias Signed-off-by: Gaetan Semet --- plugins/git2/git2.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git2/git2.plugin.zsh b/plugins/git2/git2.plugin.zsh index 5f78ce63c..7758a03a9 100644 --- a/plugins/git2/git2.plugin.zsh +++ b/plugins/git2/git2.plugin.zsh @@ -256,7 +256,7 @@ compdef _git gke='gitk' # Clean # Remove all .orig, .BASE.*, .REMOTE.*, .LOCAL.*, *.BACKUP files -alias gclean="find $(git rev-parse --show-toplevel) -name '*.orig' -or -name '*.REMOTE.*' -or -name '*.LOCAL.*' -or -name '*.BACKUP.*' -or -name '*.BASE.*' | xargs -r rm -v" +alias gclean='find $(git rev-parse --show-toplevel) -name "*.orig" -or -name "*.REMOTE.*" -or -name "*.LOCAL.*" -or -name "*.BACKUP.*" -or -name "*.BASE.*" | xargs -r rm -v' alias gcleanreset='(cd $(git rev-parse --show-toplevel) && git reset --hard && git clean -dfx)' # Edit global Git configuration files