[repos_checker.sh]: Make repository filepaths more readable

Make 'pwd' output bold and prepend a newline
This commit is contained in:
2024-09-28 02:45:19 +01:00
parent 0fbf0aff4c
commit ea4a806aea

View File

@ -1,4 +1,4 @@
#!/bin/sh
# script to find all the git repositories in the current directory (& sub-directories) and display their git statuses
find . -name ".git" -type d -not -path "./.cache/*" -not -path "./.local/*" -exec sh -c '(cd {}/../; pwd; git status)' \;
find . -name ".git" -type d -not -path "./.cache/*" -not -path "./.local/*" -exec sh -c '(cd {}/../; echo -e "\n\033[1m$(pwd)\033[0m"; git status)' \;