Answers for "how to set tmux as default"

0

how to set tmux as default

# open your .zshrc or .bashrc and past it
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
    tmux attach -t default || tmux new -s default
fi
Posted by: Guest on July-28-2021

Code answers related to "how to set tmux as default"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language