From a6a81f0cd6d3d788857c02740f24934a293e50dd Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 27 Mar 2024 08:53:34 +0000 Subject: [PATCH] Support tmuxinator configurations in .ignored Also use tmuxinator if the `.tmuxinator.yml` file is within a `.ignored` directory and ignored from Git. --- bin/t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/t b/bin/t index 2a0b2e8..a131d89 100755 --- a/bin/t +++ b/bin/t @@ -56,6 +56,9 @@ fi 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}/.tmux" ]]; then "${session_path}/.tmux" "${session_name}" "${session_path}" exit