tmux-plugins / tmux-resurrect

Persists tmux environment across system restarts.
MIT License
11.4k stars 424 forks source link

Problem recreate windows #490

Open lars44 opened 1 year ago

lars44 commented 1 year ago

Version tmux 3.3a Platform: Debian 12 screen-256color

Issue description: I get an error when I want to recreate all windows incl. the ssh command that log in to different servers. Command C-a C-r loads all windows but without running ssh command (ssh server2 + ssh server3). Command C-a R shows:

/root/.tmux/resurrect/last:1: unknown command: pane

The last part in .tmux.conf looks like this:

resurrect_dir="/root/.tmux/resurrect" set -g @resurrect-dir $resurrect_dir set -g https://github.com/plugin '/root/.tmux/plugins/tmux-resurrect' set -g https://github.com/plugin '/root/.tmux/plugins/tmux-continuum' set -g https://github.com/plugin '/root/.tmux/plugins/tmux-sensible'

bind-key R source-file /root/.tmux/resurrect/last run-shell '/root/.tmux/plugins/tpm/tpm'

What do I need to change or add to get the right action? Thank you.