-
Notifications
You must be signed in to change notification settings - Fork 229
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
Per-window environment variables #832
Comments
@tony I could work on this issue if accepted. I could also generalize it to allow setting up pane-specific environments as well (if you agree on that). |
@zappolowski Go for it |
Just one question on the desired/expected behavior. Given this (currently hypothetical) configuration: session_name: env-test
environment:
ENV_VAR: "session"
windows:
- panes:
- "echo $ENV_VAR == window"
- environment:
ENV_VAR: "pane"
shell_command: "echo $ENV_VAR == pane"
- "echo $ENV_VAR == ???"
environment:
ENV_VAR: "window"
- panes:
- "echo $ENV_VAR == session" What should be the value of |
It would be nice if I could set different
environment
values in different windows within a session.Using
tmuxp 1.15.0, libtmux 0.15.4
, I can set environment variables for a session, e.g.:However, what I really want to do is set different env vars in different windows, e.g.:
Thanks!
The text was updated successfully, but these errors were encountered: