Remove support for .tmuxinator.yml files

Only support .tmuxinator.yaml files
This commit is contained in:
Oliver Davies 2024-04-01 20:41:09 +01:00
parent 8a4f0d3bf3
commit c99564fff5

8
bin/t
View file

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