.zlogin
if [[ -x "$(which tmux)" && -z $TMUX ]]; then
tmux -2 attach || tmux -2 new-session ; exit
fi
More than 5 years have passed since last update.
if [[ -x "$(which tmux)" && -z $TMUX ]]; then
tmux -2 attach || tmux -2 new-session ; exit
fi
Register as a new user and use Qiita more conveniently