dot/.config/scriptrc/start_tmux.sh

7 lines
173 B
Bash
Raw Normal View History

# run neofetch or tmux if available
if [ ! -z "$(which tmux 2>/dev/null)" ]; then
if [ ! -n "$TMUX" ] || [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
exec tmux
fi
fi