From c99564fff5dafc3f7289b80d7f0c7c53a3d609d9 Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.dev>
Date: Mon, 1 Apr 2024 20:41:09 +0100
Subject: [PATCH] Remove support for .tmuxinator.yml files

Only support .tmuxinator.yaml files
---
 bin/t | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/bin/t b/bin/t
index 8e0a5089..d87ad906 100755
--- a/bin/t
+++ b/bin/t
@@ -53,13 +53,7 @@ if tmux has-session -t "${session_name}" 2> /dev/null; then
 fi
 
 # If a .tmux file exists, run it with the generated session name and path.
-if [[ -e "${session_path}/.tmuxinator.yml" ]]; then
-  cd "${session_path}" && tmuxinator start
-  exit
-elif [[ -e "${session_path}/.ignored/.tmuxinator.yml" ]]; then
-  cd "${session_path}" && tmuxinator start --project-config "${session_path}/.ignored/.tmuxinator.yml"
-  exit
-elif [[ -e "${session_path}/.tmuxinator.yaml" ]]; then
+if [[ -e "${session_path}/.tmuxinator.yaml" ]]; then
   cd "${session_path}" && tmuxinator start
   exit
 elif [[ -e "${session_path}/.ignored/.tmuxinator.yaml" ]]; then