dot/.config/scriptrc/start_tmux.sh

7 lines
158 B
Bash
Raw Permalink Normal View History

# run neofetch or tmux if available
2024-07-15 20:58:29 +02:00
if type tmux &>/dev/null; then
if [ ! -n "$TMUX" ] || [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
exec tmux
fi
fi