Include GitLab repositories are within multi-level

...directories
This commit is contained in:
Oliver Davies 2024-04-09 23:05:27 +01:00
parent 0171861a44
commit 5a38fdcb88

9
bin/t
View file

@ -23,6 +23,15 @@ else
! -path "${HOME}/Code/tmp/*"
)
# Include GitLab repositories that are within multi-level project and group directories.
items+=" "
items+=$(find "${HOME}/Code/gitlab.com" \
-maxdepth 4 \
-mindepth 3 \
-type d \
! -path "${HOME}/Code/gitlab.com/opdavies/wiki/*" \
)
# Add the top-level directories within ~/Code/tmp.
items+=" "
items+=$(find "${HOME}/Code/tmp" \