dot

packages and services management
Log | Files | Refs | README

commit 3612e777eeb345ffb0072414fa7b54e9f8464b80
parent 1fc7b73c409396c33ad7eb9907c688eff01d8866
Author: Josuah Demangeon <mail@josuah.net>
Date:   Fri,  7 Apr 2017 15:28:44 +0200

added git-status

Diffstat:
Mbin/git-all | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/bin/git-all b/bin/git-all @@ -1 +1,8 @@ -find ~ -name .git -exec sh -c \"cd '{}/..'; printf '\\n'; pwd; git status -s\" \\; +command="$1" +shift + +find "$HOME" -name .git | while IFS='' read repo +do + printf '\n%s\n' "${repo/.git}" + (cd "${repo%/.git}" && "$command" "$@") +done