-
-
Notifications
You must be signed in to change notification settings - Fork 619
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
Clone current environment variables #3027
Comments
tmux has this ability as well. In the config you can specify which environment variables (DISPLAY, SSH_AGENT, etc) you want to bring into a new tmux environment. |
See also #1531 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Having the ability to clone the environment variables from the current shell session into a new pane can be really useful.
For example,
direnv
can set environment variables that modifies program's behavior, install new programs into thePATH
, etc. Currently, when you runzellij run -- $ARGS
,$ARGS
won't be affected by the currentdirenv
session. This will cause issues like missing programs, incorrect behavior, etc.In kitty, you can do this with
--copy-env
. A similar option would be nice.The text was updated successfully, but these errors were encountered: