Skip to content

Commit 914bcfe

Browse files
committed
docs(CHANGES): Note latest #845 environment variable pr
1 parent 27d9552 commit 914bcfe

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

CHANGES

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,14 @@ $ pipx install --suffix=@next 'tmuxp' --pip-args '\--pre' --force
1919

2020
### What's new
2121

22-
- #845: allow to configure window and pane specific environment variables
22+
- Environment variables for windows / panes (#845)
23+
24+
_Requires tmux 3.0_
25+
26+
Allow to configure window and pane specific environment variables
2327

2428
Having a setup like:
29+
2530
```yaml
2631
session_name: env-demo
2732
environment:
@@ -35,11 +40,14 @@ $ pipx install --suffix=@next 'tmuxp' --pip-args '\--pre' --force
3540
- environment:
3641
DATABASE_URL: "sqlite3:///dev-2.db"
3742
```
43+
3844
will result in a window with two panes. In the first pane `$DATABASE_URL` is
3945
`sqlite3:///dev-1.db`, while in the second pane it is `sqlite3://dev-2.db`.
4046
Any freshly created window gets `sqlite3:///default.db` as this is what was
4147
defined for the session.
4248

49+
Credit: @zappolowski
50+
4351
<!-- Maintainers, insert changes / features for the next release here -->
4452

4553
## tmuxp 1.18.2 (2022-11-06)

0 commit comments

Comments
 (0)