From dd6dbcd437aba310f66f77d0641c1519fad153d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henr=C3=A9=20Botha?= Date: Thu, 19 Oct 2017 12:56:37 +0200 Subject: [PATCH] Use read-while instead of xargs to accommodate alias --- 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 c1309bce4..32d6b7f9a 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -234,7 +234,7 @@ alias gts='git tag -s' alias gtv='git tag | sort -V' alias gunhide='git update-index --no-skip-worktree' -alias gunhidea='cd $(git rev-parse --show-toplevel || echo ".") && ghidden | xargs gunhide' +alias gunhidea='cd $(git rev-parse --show-toplevel || echo ".") && ghidden | while read -r i; do gunhide "$i"; done' alias gunignore='git update-index --no-assume-unchanged' alias gunwip='git log -n 1 | grep -q -c "\-\-wip\-\-" && git reset HEAD~1' alias gup='git pull --rebase'