-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New window is always added when auto restoring tmux environment #50
Comments
I find this annoying too. I think there should be an option to remove the session that appears when tmux is started up |
As a temporary hack, I added |
Hi, The problem to clean this added session at each restart is that when you are in the process of daemon creation (calling tmux-continuum), you can't kill session. |
For some reason a new window is no longer created for me now |
@dylan-chong Which OS and tmux version do you use ? |
For me: Here is my problem:
Something seems to be wrong? Here is my file .tmux.conf without binds:
|
Mac os 10.14.6 My tmux conf is here dylan-chong/dotfiles@0c9a484 |
Ok the problem seems to come from systemd (linux) |
Nevermind. the problem is back for me :( |
Yeah this happens for me on MacOS. |
Hey guys, About the new problem "session with an increasing session number appears after restart":
|
What is the current status of this bug? I am a new user to tmux and tmux-continuum so I am confused at what I was seeing. I expected that I this plugin will being me back to my saved session when I had the following settings: set -g @continuum-boot 'on' Instead I always got a new session with a new higher session number that I have to manually get rid of. This actually creates more work than not using the feature at all. Is this the expected behavior or is this still the bug. From a (confused) new user perspective I wanted the plugin to restore my last saved session. When I launch tmux I wanted it to bring me back to this session. When I started the computer I wanted tmux to return me to the last saved session but it doesn't do this at all. |
There is one easy workaround: set It defaults to new-session -d, which creates the new session each time, then restores the others. I am not entirely sure why. Note that setting this variable is not enough, you need to force regeneration of your systemd unit file - so either delete |
What does between the " |
Has anyone else confirmed this change is working? I am running tmux 3.2a and tmux-restore version 4.0 (as per the CHANGELOG.mg file in my ~.tmux/plugins/tmux-resurrect/ folder) but I get a new 0 session after every restore. I have tested this extensively tonight. I believe this 0 session is also causing other issues with restoring. Example after a restore:
|
When I installed tmux-continuum via tpm, my stored sessions were restored and I did not get any extra session. When I called tmux-continuum directly from
I always ended up with my stored sessions being restored and an extra session. I believe that the cause for that is the order of execution. In the former case, tmux would source I could fix that behaviour by running run-shell -b <path to continuum.tmux> i.e. by adding the |
Every time I start tmux and it restores the environment, a new additional session with a blank window is added. There is no such a problem if I restore my sessions with tmux-ressurect manually.
The text was updated successfully, but these errors were encountered: