Skip to content

Add --combine flag to "load" #407

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

Closed
wants to merge 1 commit into from
Closed

Conversation

moser
Copy link

@moser moser commented Jul 20, 2018

Hi guys,
the implementation works for my simple use case but probably needs more thought & some tests. Please treat this rather as a proposal of an idea than a mergable PR.

My use case: I sometimes work just on my laptop screen, sometimes I have an external screen. Depending on the situation I would like to start some tmux windows within the same or in two different sessions. I thus created two tmuxp config files. In the single-screen case I would like to combine the files into one config and start it as one session.

I added the "--combine" flag which takes all the given configs, combines them in a temporary config file and loads that one.

What do you think of the idea? If you think it is worthwhile, I will add tests and try to make the config merge bulletproof. If you don't, I will just use my fork and save the effort of making it usable for everyone :-)

Cheers,
Martin

@tony
Copy link
Member

tony commented Aug 16, 2020

@moser Hi there, sorry about this! Can I get another rebase?

I just merged #623 which moves us to a poetry packaging setup and will runs the PR through GitHub actions.

@moser
Copy link
Author

moser commented Aug 17, 2020

@tony To be honest, I stopped using my fork a while ago and found other ways to solve my problem. I don't think it makes sense to merge it because it lacks tests and is a pretty rough implementation...

@moser moser closed this Aug 17, 2020
@tony
Copy link
Member

tony commented Aug 17, 2020

@moser no problem at all! Thank you for the PR and for following up, sorry for the delay getting around to this!

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

Successfully merging this pull request may close these issues.

2 participants