From 575e0f694bf7136e7b67a88e3d53965ec366e34f Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.uk>
Date: Mon, 24 Apr 2023 19:28:34 +0100
Subject: [PATCH] fix(tmux): `find` warning when using `t` function

Fixes #51
---
 bin/t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/t b/bin/t
index 9ca8b74e..fefc89ca 100755
--- a/bin/t
+++ b/bin/t
@@ -11,7 +11,7 @@ if [[ $# -eq 1 ]]; then
 else
   # Get the session name from fuzzy-finding list of directories and generating a
   # tmux-safe version.
-  selected=$(find ~/Code -type d -mindepth 1 -maxdepth 2 ! -name .git | sort | fzf --reverse)
+  selected=$(find ~/Code -mindepth 1 -maxdepth 2 -type d ! -name .git | sort | fzf --reverse)
 fi
 
 if [[ -z $selected ]]; then