Is there an option to automatically run a command after resurrecting a session? Something is a similar fashion to how set -g @resurrect-processes works, but run a command instead of restoring a process.
I have tmux automatically started on boot, and since there is no way to attach a stored session that isn't resurrected (there isn't, right?), it starts a new session, and then tmux-continuum automatically resurrects the stored session. I'd like to kill the automatically-started session once the stored session is resurrected.
Is there an option to automatically run a command after resurrecting a session? Something is a similar fashion to how
set -g @resurrect-processes
works, but run a command instead of restoring a process.I have tmux automatically started on boot, and since there is no way to attach a stored session that isn't resurrected (there isn't, right?), it starts a new session, and then
tmux-continuum
automatically resurrects the stored session. I'd like to kill the automatically-started session once the stored session is resurrected.