Oliver Davies
1f69bdeacd
Re-add the missing `_not_inside_tmux` function as it was throwing an error when starting a new Terminal session and was preventing tmux from being opened.
12 lines
137 B
Bash
12 lines
137 B
Bash
_not_inside_tmux() {
|
|
[[ -z "$TMUX" ]]
|
|
}
|
|
|
|
ensure_tmux_is_running() {
|
|
if _not_inside_tmux; then
|
|
tat
|
|
fi
|
|
}
|
|
|
|
ensure_tmux_is_running
|