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

[Feature Request] equivalent to set-environment from tmux #2639

Open
theEndBeta opened this issue Jul 20, 2023 · 1 comment
Open

[Feature Request] equivalent to set-environment from tmux #2639

theEndBeta opened this issue Jul 20, 2023 · 1 comment

Comments

@theEndBeta
Copy link

https://man7.org/linux/man-pages/man1/tmux.1.html#GLOBAL_AND_SESSION_ENVIRONMENT

tldr - I'd like to be able to dynamically add to env (https://zellij.dev/documentation/options.html#env) for just the current session.

There are certain environment variables that I can't or don't want to set before the session begins. Things like API keys or credentials stored as env variables that need to be periodically refreshed. tmux allows you to do this using the set-environment command, which will cause the env to be propagated to any new panes.

Is this something that would be suited for core zellij, or is this better off as a plugin?

@lakshya-sky
Copy link

@theEndBeta did you figure out the how to do it, yet? I also need to set zellij session variables manually. Thanks!

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

2 participants