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

add: set env var's from config and layout #1154

Merged
merged 1 commit into from
Mar 1, 2022

Conversation

a-kenji
Copy link
Contributor

@a-kenji a-kenji commented Mar 1, 2022

Add ability to set ENVIRONMENT VARIABLES from the
config and the layout files.

example:

env:
  ZELLIJ_CONFIG:
    DEFAULT

or

env:
  ZELLIJ_LAYOUT_NAME:
    BUILD_SESSION

If two keys conflict (configuration and layout), then the key
from the layout is used.

fixes: #1059

Add ability to set `ENVIRONMENT VARIABLES` from the
config and the layout files.

example:

```
env:
  ZELLIJ_CONFIG:
    DEFAULT
```

or

```
env:
  ZELLIJ_LAYOUT_NAME:
    BUILD_SESSION
```

If two keys conflict (configuration and layout), then the key
from the layout is used.

fixes: zellij-org#1059
@a-kenji a-kenji merged commit 6d653e1 into zellij-org:main Mar 1, 2022
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.

Set environment variable(s) for ZELLIJ_LAYOUT_{NAME,PATH}
1 participant