tmux-resurrect
tmux-resurrect copied to clipboard
Is it possible to set `resurrect-dir` more dynamical
I am looking for a way to set resurrect-dir to the directory from which I start a new tmux session (extended with something like .tmux_resurrect).
I was hoping for a 'project based' resurrect workflow.
Hello @ErikLambrechts I am wondering if this is possible as well.
I would like to have different "ressurects" this way I would use tmux state based in the projects that I am working on.
@ErikLambrechts @marabesi I have filed another ticket which gives a minimal change that would be needed in tmux-resurrect to be able to achieve this behavior. https://github.com/tmux-plugins/tmux-resurrect/issues/389. That seems to be the only hurdle in achieving the result we all intend.
Update: I have created a PR that should resolve this: https://github.com/tmux-plugins/tmux-resurrect/pull/390
As mentioned in #390, I can't see this feature making it into tmux-resurrect. I encourage you to fork the plugin (or just copy the code) and create another plugin that focuses on saving/restoring individual sessions.