git-shell-commands/ls
William Brawner 1330d3b77d Fix ls command to traverse up to 2 directories deep
Signed-off-by: William Brawner <me@wbrawner.com>
2019-12-30 14:21:20 -06:00

6 lines
166 B
Bash
Executable file

#!/usr/bin/env sh
source "$(dirname "$0")/pre-script"
for repo in $(/usr/bin/find -maxdepth 2 -type d -name "*.git"); do /usr/bin/basename $repo .git; done | sort