Answers for "ubuntu default tmux shell"

0

ubuntu default tmux shell

if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
  exec tmux
fi
Posted by: Guest on November-06-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language