Commit f8a454d
committed
feat(launch): pass REVDIFF_CONFIG to overlay and add configurable popup size
Two improvements to the launch script:
1. Pass REVDIFF_CONFIG env var as --config flag to revdiff inside tmux
popups. The sh -c invocation doesn't inherit fish universal variables,
so the config path was lost in overlay shells.
2. Add REVDIFF_POPUP_WIDTH and REVDIFF_POPUP_HEIGHT env vars to override
the default 90% tmux popup dimensions.1 parent 7f403ca commit f8a454d
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
38 | 46 | | |
39 | 47 | | |
40 | | - | |
| 48 | + | |
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
| |||
0 commit comments