Files
SelfHosting-Tools-Scripts/AutoRunTMUX.txt
2025-10-03 20:59:28 +00:00

6 lines
162 B
Plaintext

# Add to .bashrc
if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
exec tmux
fi