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

imp: Support switching between sessions #50

Merged
merged 4 commits into from
Jan 1, 2020

Conversation

brianp
Copy link
Owner

@brianp brianp commented Dec 30, 2019

This adds support to call muxed from within a running tmux session. You can call muxed simply to switch to another running session. Or call muxed to load a config, start a new session, and switch to it from within a running tmux session.

Previously it would have attempted to call tmux in a manner that would nest sessions instead of running them in parallel. On the other hand if the desire is to nest sessions one simply needs to follow TMUX's suggestion and UNSET the $TMUX env variable.

Fixes: #49

TODO: Before merge see if I can write a spec for this.

This adds support to call muxed from within a running tmux session. You can call muxed simply to switch to another running session. Or call muxed to load a config, start a new session, and switch to it from within a running tmux session.
Previously it would have attempted to call tmux in a manner that would nest sessions instead of running them in parrallel. On the other hand if the desire is to nest sessions one simply needs to follow TMUX's suggestion and UNSET the $TMUX env variable.

Fixes: #49
@brianp brianp merged commit ae53ca3 into master Jan 1, 2020
@brianp brianp deleted the improvement/switch-in-nested branch January 2, 2020 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support loading while already in a tmux session
1 participant