[repos_checker.sh]: Make repository filepaths more readable
Make 'pwd' output bold and prepend a newline
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# script to find all the git repositories in the current directory (& sub-directories) and display their git statuses
|
# 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)' \;
|
||||||
|
Reference in New Issue
Block a user