Add support for .tmuxinator.yaml files

This commit is contained in:
Oliver Davies 2024-03-30 22:15:32 +00:00
parent 0ff3724c58
commit 488f70aab2

6
bin/t
View file

@ -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