1
0
Fork 0

Automatically load agent on "resume"

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-03-05 16:21:46 +01:00
parent f49b146ee0
commit 1f4303534f
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -2,4 +2,5 @@
[ -n "${TMUX}" ] && exit 1
tmux-agent
tmux attach-session -t $(tmux list-sessions | sort -n | head -n1 | cut -d: -f1) || tmux