Always tmux-ing

This commit is contained in:
Oliver Davies 2020-01-21 07:21:30 +00:00
parent 47a04ad6f2
commit f31e39e5f5
2 changed files with 11 additions and 0 deletions

View file

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