# tmux crashes sometimes, switching back to screen

#ls=
#. opts
#if [ "$#" = 0 -a "${#OPTS[@]}" = 0 ]; then
#	tmux a -t 0 || tmux
#elif [ "$#" = 1 -a "${#OPTS[@]}" = 0 ]; then
#	tmux new-session -s "$1"
#elif (( ls )); then
#	tmux list-sessions
#else
#	tmux "${OPTS[@]}" "$@"
#fi



#!/bin/bash
#. opts
#if [ -n "$1" ]; then
#	attach=-t
#else
#	attach=
#fi
#tmux attach -d "${OPTS[@]}" $attach "$@"

#: ${mode:=-U -dRR}  # -xR
#exec screen $mode "$@"
