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
Allow multiple configuration files on command line #135
Conversation
Fixes tmux-python#133 as far as I'm concerned
I'm not certain if this wouldn't inadvertently cause other commands to break potentially. I'm willing to test and QA this thoroughly by hand if thats what required. However, have you considered this:
You can optionally remote the
Does this achieve the affect you'd want? IMO It may better to make the cli portion compatible with xargs so sessions could loaded in parallel. |
Ok, I did not think about However, attaching to 2 or more sessions at the same time does not makes sense. So we could document that in absence of About compatibility with Instead of for conf in ~/.config/tmux/autorun.d/*.yaml; do
tmuxp load -d $conf
done |
I also played around (while using
Definitely feel free to document and add anything that'd be helpful. Including However, current behavior in this PR (with the absence of So that leaves us with a bit of bikeshedding. I think we could by default do what you mentioned documenting, we would mark all but the last config as detached by default. |
Only the last one will be attached if -d flag is not specified
Works for me. Care to document the behavior of |
Local `config` was hidding global import `config`, used later in the function.
Allow multiple configuration files on command line
Fixes #133 as far as I'm concerned
I would like to write a test for this, but I haven't found any test example running the command line. Or did I miss it?