From 5a38fdcb884d8590b25753308f04d95c5d40ca0b Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.dev>
Date: Tue, 9 Apr 2024 23:05:27 +0100
Subject: [PATCH] Include GitLab repositories are within multi-level

...directories
---
 bin/t | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/bin/t b/bin/t
index d87ad906..55e193ca 100755
--- a/bin/t
+++ b/bin/t
@@ -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" \