dot

packages and services management
Log | Files | Refs | README

commit fbb118a2d6d1659cf5ba515663b474fb414b509b
parent 0ed32dafaac35422a4564b432d3589ec1a0405d4
Author: josuah <mail@josuah.net>
Date:   Sun, 25 Sep 2016 01:16:55 -0400

Added an alias to get status of all git repos

Diffstat:
Mshell/.profile | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/shell/.profile b/shell/.profile @@ -180,6 +180,18 @@ remove_prefix() done } +gitall() +{ + find "$HOME" -name '.git' -type d | while read git + do + git="${git%/*}" + printf '\n\n\033[1m%s\033[0m\n' "~${git#$HOME}" + cd "$git" + git status + cd "$HOME" + done +} + buildit() { [ -f './autogen.sh' ] && ./autogen.sh