cfg/bin/resume
2017-02-17 01:10:52 +01:00

6 lines
129 B
Bash
Executable File

#!/bin/bash
[ -n "${TMUX}" ] && exit 1
tmux attach-session -t $(tmux list-sessions | sort -n | head -n1 | cut -d: -f1) || tmux