Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: a08d979d89
Fetching contributors…

Cannot retrieve contributors at this time

executable file 17 lines (13 sloc) 0.246 kB
tmux start
sessions=`tmux ls -F '#{session_attached}#{session_name}'`
found=0
for s in $sessions; do
if [ ${s:0:1} = 0 ]; then
tmux attach -t ${s:1}
found=1
break
fi
done
if [ $found = 0 ]; then
tmux new
fi
Jump to Line
Something went wrong with that request. Please try again.