Commit 62e7e56
Eric Bower
·
2026-07-20 20:45:17 -0400 EDT
parent 7781824
docs: readme
1 files changed,
+0,
-19
+0,
-19
| ... | ... | @@ -290,25 +290,6 @@ zmx k tests # kills d.tests | |
| 290 | 290 | zmx wait # suspends until all tasks prefixed with "d." are complete | |
| 291 | 291 | ``` | |
| 292 | 292 | ||
| 293 | - | ## label inheritance | |
| 294 | - | ||
| 295 | - | When creating a new session from inside an existing one (`$ZMX_SESSION` is set), labels are automatically inherited from the parent session. This means if you set `project=zmx` on a session, any child sessions created from within it will also have `project=zmx`. | |
| 296 | - | ||
| 297 | - | To control which labels are inherited, set `ZMX_INHERIT_LABELS`: | |
| 298 | - | ||
| 299 | - | ```bash | |
| 300 | - | # Inherit all labels (default) | |
| 301 | - | zmx a child | |
| 302 | - | ||
| 303 | - | # Inherit no labels | |
| 304 | - | export ZMX_INHERIT_LABELS= | |
| 305 | - | zmx a child | |
| 306 | - | ||
| 307 | - | # Inherit only specific labels | |
| 308 | - | export ZMX_INHERIT_LABELS=project,team | |
| 309 | - | zmx a child | |
| 310 | - | ``` | |
| 311 | - | ||
| 312 | 293 | ## philosophy | |
| 313 | 294 | ||
| 314 | 295 | The entire argument for `zmx` instead of something like `tmux` that has windows, panes, splits, etc. is that job should be handled by your os window manager. By using something like `tmux` you now have redundant functionality in your dev stack: a window manager for your os and a window manager for your terminal. Further, in order to use modern terminal features, your terminal emulator **and** `tmux` need to have support for them. This holds back the terminal enthusiast community and feature development. |