Only check directories.

This commit is contained in:
Hyperling 2025-01-02 12:56:37 -07:00
parent 8829d1d574
commit 9498154a71

View File

@ -461,6 +461,9 @@
alias_code_check: | alias_code_check: |
alias code-check=' alias code-check='
ls -d ~/Code/* | while read project; do ls -d ~/Code/* | while read project; do
if [[ ! -d $project ]]; then
continue
fi
echo "*** `basename $project` ***" echo "*** `basename $project` ***"
cd $project cd $project
if [[ -d .git ]]; then if [[ -d .git ]]; then