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
19
19
20
20
### What's new
21
21
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
23
27
24
28
Having a setup like:
29
+
25
30
``` yaml
26
31
session_name : env-demo
27
32
environment :
@@ -35,11 +40,14 @@ $ pipx install --suffix=@next 'tmuxp' --pip-args '\--pre' --force
35
40
- environment :
36
41
DATABASE_URL : " sqlite3:///dev-2.db"
37
42
` ` `
43
+
38
44
will result in a window with two panes. In the first pane ` $DATABASE_URL` is
39
45
` sqlite3:///dev-1.db` , while in the second pane it is `sqlite3://dev-2.db`.
40
46
Any freshly created window gets `sqlite3:///default.db` as this is what was
41
47
defined for the session.
42
48
49
+ Credit : @zappolowski
50
+
43
51
<!-- Maintainers, insert changes / features for the next release here -->
44
52
45
53
# # tmuxp 1.18.2 (2022-11-06)
You can’t perform that action at this time.
0 commit comments