From b2b56fc7e24ac8f69387a0cd9e0948ed693e8ac1 Mon Sep 17 00:00:00 2001 From: Ahmed Farag Date: Mon, 17 Apr 2017 17:12:37 +0400 Subject: [PATCH] added alias for listing all user repo --- plugins/git/git.plugin.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 34942d38..bff0ff52 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -239,3 +239,4 @@ alias glum='git pull upstream master' alias gwch='git whatchanged -p --abbrev-commit --pretty=medium' alias gwip='git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify -m "--wip-- [skip ci]"' +alias gar="find ~ -name \".git\" 2> /dev/null | sed 's/\/.git/\//g' | awk '{print \"-------------------------\n\033[1;32mGit Repo:\033[0m \" $1;system(\"git --git-dir=\"$1\".git --work-tree=\"$1\" status\")}'"