From ea4a806aeac74298a5ed169e687033f16448e540 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sat, 28 Sep 2024 02:45:19 +0100 Subject: [PATCH] [repos_checker.sh]: Make repository filepaths more readable Make 'pwd' output bold and prepend a newline --- repos_checker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos_checker.sh b/repos_checker.sh index c3b4ca9..b42d58d 100755 --- a/repos_checker.sh +++ b/repos_checker.sh @@ -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)' \;