dot/.config/scriptrc/start_tmux.sh

6 lines
158 B
Bash

# run neofetch or tmux if available
if type tmux &>/dev/null; then
if [ ! -n "$TMUX" ] || [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
exec tmux
fi
fi