2023-12-22 21:56:32 +03:00

6 lines
165 B
Plaintext
Executable File

cat > "$HOME/.config/bash/bashrc.d/01_tmux.sh" << EOF
if command -v tmux 1>/dev/null && [[ -z "\$TMUX" ]] && [[ ! "\$TERM" =~ tmux ]]; then
exec tmux new
fi
EOF