From 8a4185b3875c8bde2028f111010f4f3b290d1884 Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Sat, 1 Jun 2024 03:13:28 +0200 Subject: [PATCH] shell -> bash -> exec: Execute tmux on start --- shell/bash/.bash_exec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell/bash/.bash_exec b/shell/bash/.bash_exec index 571ca98..d48c6e4 100644 --- a/shell/bash/.bash_exec +++ b/shell/bash/.bash_exec @@ -1,5 +1,9 @@ #!/usr/bin/bash +# Start in tmux by default +[[ $TERM != "screen" ]] && [ -z "$TMUX" ] && exec tmux + if command -v jaaj &> /dev/null && command -v dotacat &> /dev/null; then jaaj fi +