I'm using zsh and zsh-git-prompt and its working great. When I'm inside a folder that is a git repository I receive notice about the git status:
thomas@linux-fopt ~Path/to/Git/repo(localDevelop|✚2)%
Meaning, that I'm on the localDevelop
branch and have modified two files.
Now, I would very much appreciate to get an overview like that for all folders in the current folder I am inside, something like:
$ lsGit
FolderA (master|+1) (<- is a git repo)
FolderB (develop|+2) (<- is a git repo)
FolderC (<- is not a git repo)
Files inside the current folder should be ignore, only folders should be displayed.
Is there a way to realize this with zsh?