Support tmuxinator configurations in .ignored
Also use tmuxinator if the `.tmuxinator.yml` file is within a `.ignored` directory and ignored from Git.
This commit is contained in:
parent
f2db3d29f7
commit
a6a81f0cd6
3
bin/t
3
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
|
||||
|
|
Loading…
Reference in a new issue