about summary refs log tree commit diff
path: root/home/zsh/tmux.zsh
blob: 4120512327a48f5e28f862417c84e6f7d9a25ce1 (plain) (blame)
1
2
3
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
  tmux attach -t default || tmux new -s default
fi