Automatically load agent on "resume"
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
f49b146ee0
commit
1f4303534f
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue