Answers for "how to use tmux as default terminal"

0

how to use tmux as default terminal

# in /etc/profile add this line

if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
    tmux attach -t default || tmux new -s default
fi
Posted by: Guest on September-19-2021

Code answers related to "how to use tmux as default terminal"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language