Open kevin-ctera opened 7 months ago
Can confirm, I have a similar setup (symlink, wsl2) and same bug for me, the automatic saving works but not restoring when starting tmux
It is fixed with https://github.com/tmux-plugins/tmux-resurrect/pull/289 for me, so not a problem in tmux-continuum i guess
@GitBluub thanks for pointing that out. I followed the proposed change in https://github.com/tmux-plugins/tmux-resurrect/pull/289 but it's still not working if I have a link. Are the changes below all you did?
I recently started using WSL 2 instead of WSL 1. With the change, I found that tmux-continuum was no longer working.
I found it is related to having a symbolic link for .tmux.conf.
I do this because I set up Linux in multiple environments and have to bring up new ones from time to time and can run a script I've created to create links to config files and keep changes/additions in sync between environments.
As a workaround, I've had to change .tmux.conf to a regular file and tell it to source a different file that I update:
Plugin content of
.tmux.conf.main
I did not find that any other plug-ins are having issues with the symbolic link in WSL 2 outside of
tmux-continuum
(EG:prefix + Ctrl-s
- save,prefix + Ctrl-r
- restore work as expected).The symbolic link doesn't matter in WSL 1 and all plugins work as expected
Is it possible to determine what causes this behavior and fix it?