5 lines
159 B
Bash
Raw Normal View History

2023-04-20 20:33:14 +02:00
if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
2023-04-21 07:11:52 +02:00
exec ~/bin/tmux_default
2023-04-20 20:33:14 +02:00
fi