Skip to content
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

Newly created session doesn't use .tmux.conf settings and bindings #15

Open
dragon788 opened this issue Feb 19, 2017 · 0 comments
Open

Comments

@dragon788
Copy link

I've installed Tmux 2.3 via Linuxbrew.

When I use tmux-sessionist and create a new session using prefix C the session gets created but the prefix defaults back to Ctrl+b instead of my chosen prefix. If I use <default prefix> R then it reloads the ~/.tmux.conf and everything works as expected again.

While debugging I actually discovered that even doing this without some of the extra convenience methods of tmux-sessionist has the same issue, i.e. using prefix :new-session -s "sessionname" has the same issue.

The fix seems to be adding \; source-file ~/.tmux.conf to the end of the new-session command to ensure that the config file with the customized prefix gets properly loaded. I'll submit a PR with this change as it should be zero impact and will fix this behavior nicely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant