File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments