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.
This commit is contained in:
Oliver Davies 2021-06-25 09:25:18 +01:00
parent ae29cc1a04
commit 1f69bdeacd

View file

@ -1,3 +1,7 @@
_not_inside_tmux() {
[[ -z "$TMUX" ]]
}
ensure_tmux_is_running() {
if _not_inside_tmux; then
tat