|
36 | 36 | {
|
37 | 37 | "window_name": "editor",
|
38 | 38 | "panes": [
|
39 |
| - {"shell_command": ["vim", "top"]}, |
40 |
| - {"shell_command": ["vim"]}, |
41 |
| - {"shell_command": ['cowsay "hey"']}, |
| 39 | + {"shell_command": [{"cmd": "vim"}, {"cmd": "top"}]}, |
| 40 | + {"shell_command": [{"cmd": "vim"}]}, |
| 41 | + {"shell_command": [{"cmd": 'cowsay "hey"'}]}, |
42 | 42 | ],
|
43 | 43 | "layout": "main-verticle",
|
44 | 44 | },
|
45 | 45 | {
|
46 | 46 | "window_name": "logging",
|
47 |
| - "panes": [{"shell_command": ["tail -F /var/log/syslog"]}], |
| 47 | + "panes": [{"shell_command": [{"cmd": "tail -F /var/log/syslog"}]}], |
48 | 48 | },
|
49 | 49 | {
|
50 | 50 | "start_directory": "/var/log",
|
51 | 51 | "options": {"automatic-rename": True},
|
52 |
| - "panes": [{"shell_command": ["htop"]}, {"shell_command": ["vim"]}], |
| 52 | + "panes": [ |
| 53 | + {"shell_command": [{"cmd": "htop"}]}, |
| 54 | + {"shell_command": [{"cmd": "vim"}]}, |
| 55 | + ], |
53 | 56 | },
|
54 | 57 | {
|
55 | 58 | "start_directory": os.path.normpath(
|
56 | 59 | os.path.join(os.path.expanduser("~"), "./")
|
57 | 60 | ),
|
58 |
| - "panes": [{"shell_command": ["pwd"]}], |
| 61 | + "panes": [{"shell_command": [{"cmd": "pwd"}]}], |
59 | 62 | },
|
60 | 63 | {
|
61 | 64 | "start_directory": os.path.normpath(
|
62 | 65 | os.path.join(os.path.expanduser("~"), "./asdf")
|
63 | 66 | ),
|
64 |
| - "panes": [{"shell_command": ["pwd"]}], |
| 67 | + "panes": [{"shell_command": [{"cmd": "pwd"}]}], |
65 | 68 | },
|
66 | 69 | {
|
67 | 70 | "start_directory": os.path.normpath(
|
68 | 71 | os.path.join(os.path.expanduser("~"), "../")
|
69 | 72 | ),
|
70 |
| - "panes": [{"shell_command": ["pwd"]}], |
| 73 | + "panes": [{"shell_command": [{"cmd": "pwd"}]}], |
71 | 74 | },
|
72 |
| - {"panes": [{"shell_command": ["top"]}]}, |
| 75 | + {"panes": [{"shell_command": [{"cmd": "top"}]}]}, |
73 | 76 | ],
|
74 | 77 | }
|
0 commit comments