From 488f70aab293765c9651a98de20de4217186f6fc Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 30 Mar 2024 22:15:32 +0000 Subject: [PATCH] Add support for .tmuxinator.yaml files --- bin/t | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/t b/bin/t index a131d89..8e0a508 100755 --- a/bin/t +++ b/bin/t @@ -59,6 +59,12 @@ if [[ -e "${session_path}/.tmuxinator.yml" ]]; then 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 + cd "${session_path}" && tmuxinator start + exit +elif [[ -e "${session_path}/.ignored/.tmuxinator.yaml" ]]; then + cd "${session_path}" && tmuxinator start --project-config "${session_path}/.ignored/.tmuxinator.yaml" + exit elif [[ -e "${session_path}/.tmux" ]]; then "${session_path}/.tmux" "${session_name}" "${session_path}" exit