#!/bin/bash
. "$(dirname "$0")/gdirs"
for dir in "${gdirs[@]}" ; do
    (
        cd "$HOME/$dir"
        printf "\ncd %s\n" "$(pwd)"
        git status
    )
done
ViewGit