dotfiles/.zsh/configs/tmux.zsh
Oliver Davies 1f69bdeacd zsh: Re-add missing function
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.
2021-06-25 09:25:18 +01:00

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