Skip to content

Commit 97b7e8d

Browse files
committed
docs(CHANGES): Update for shell pane feature from @jerri in #672
1 parent 7b84844 commit 97b7e8d

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

CHANGES

+33
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,39 @@
44

55
- _Insert changes/features/fixes for next release here_
66

7+
#### What's new
8+
9+
- #672: Panes now accept `shell` for their initial command.
10+
11+
Equivalent to `tmux split-windows`'s `[shell-command]`
12+
13+
```yaml
14+
session_name: Pane shell example
15+
windows:
16+
- window_name: first
17+
window_shell: /usr/bin/python2
18+
layout: even-vertical
19+
suppress_history: false
20+
options:
21+
remain-on-exit: true
22+
panes:
23+
- shell: /usr/bin/python3
24+
shell_command:
25+
- print('This is python 3')
26+
- shell: /usr/bin/vim -u none
27+
shell_command:
28+
- iAll panes have the `remain-on-exit` setting on.
29+
- When you exit out of the shell or application, the panes will remain.
30+
- Use tmux command `:kill-pane` to remove the pane.
31+
- Use tmux command `:respawn-pane` to restart the shell in the pane.
32+
- Use <Escape> and then `:q!` to get out of this vim window. :-)
33+
- shell_command:
34+
- print('Hello World 2')
35+
- shell: /usr/bin/top
36+
```
37+
38+
Credit: @jerri
39+
740
#### Bugs
841
942
- #725: Fix loading of `.yml` files with `tmuxp convert`, thank you @kalixi!

0 commit comments

Comments
 (0)