tmux-resurrect icon indicating copy to clipboard operation
tmux-resurrect copied to clipboard

Upon startup, Resurrect is overwriting prior last symlink file with a "blank" layout

Open Blake-LeBlanc opened this issue 6 years ago • 10 comments

Hello!

For some reason, tmux-resurrect will often create a new tmux_resurrect file immediately upon startup and update the last symlink point to that new file. To fix this, I have to go in an manually update the symlink to point to a prior tmux_resurrect file.

At first I thought it might have something to do with tmux-continuum, which I had used previously, but I do NOT currently have tmux-continuum installed on the system.

In my .tmux.conf settings, I have Save/Restore set to manual keybindings.

Any ideas how to troubleshoot what may be causing this to happen? Thank you in advance for any pointers and thank you for your great plugin!

UPDATE: I should clarify that this does not happen every time I start tmux. For example, it's been a few days since it happened before this morning.

Here are the contents of the "last" file:

pane	0	1	:bash	1	:*	1	:/home/linux	1	bash	:
window	0	1	1	:*	b25d,80x24,0,0,0
state		

As you'll see, this matches the most recent tmux_resurrect file that was created somehow: tmux_resurrect_20190117T065500.txt

However, the prior layout that was manually saved, is what the "last" file is supposed to point to and is the one I would manually restore from: tmux_resurrect_20190114T092243.txt

Here is a copy of my .tmux.conf file, renamed to a supported .txt file for upload purposes: tmux_conf.txt

Blake-LeBlanc avatar Jan 17 '19 15:01 Blake-LeBlanc