@@ -231,17 +231,21 @@ Or (a)ppend windows in the current active session?
231
231
232
232
All of these options can be preselected to skip the prompt:
233
233
234
- ``` console
235
- $ tmuxp load -y config # load attached
236
- ```
234
+ - Attach / open client after load:
237
235
238
- ``` console
239
- $ tmuxp load -d config # load detached
240
- ```
236
+ ``` console
237
+ $ tmuxp load -y config
238
+ ```
239
+ - Detached / open in background:
241
240
242
- ``` console
243
- $ tmuxp load -a config # append windows
244
- ```
241
+ ``` console
242
+ $ tmuxp load -d config
243
+ ```
244
+ - Append windows to existing session
245
+
246
+ ``` console
247
+ $ tmuxp load -a config
248
+ ```
245
249
246
250
Multiple sessions can be loaded at once. The first ones will be created
247
251
without being attached. The last one will be attached if there is no
@@ -264,6 +268,9 @@ debugging purposes. the log level can be controlled with the global
264
268
265
269
``` console
266
270
$ tmuxp load [filename] --log-file [log_filename]
271
+ ```
272
+
273
+ ``` console
267
274
$ tmuxp --log-level [LEVEL] load [filename] --log-file [log_filename]
268
275
```
269
276
@@ -293,25 +300,61 @@ environment:
293
300
294
301
### From teamocil
295
302
303
+ ```` {tab} YAML
304
+
305
+ ```console
306
+ $ tmuxp import teamocil /path/to/file.yaml
307
+ ```
308
+
309
+ ````
310
+
311
+ ```` {tab} JSON
312
+
296
313
```console
297
- $ tmuxp import teamocil /path/to/file.{ json,yaml}
314
+ $ tmuxp import teamocil /path/to/file.json
298
315
```
299
316
317
+ ````
318
+
300
319
(import-tmuxinator)=
301
320
302
321
### From tmuxinator
303
322
323
+ ```` {tab} YAML
324
+
325
+ ```console
326
+ $ tmuxp import tmuxinator /path/to/file.yaml
327
+ ```
328
+
329
+ ````
330
+
331
+ ```` {tab} JSON
332
+
304
333
```console
305
- $ tmuxp import tmuxinator /path/to/file.{ json,yaml}
334
+ $ tmuxp import tmuxinator /path/to/file.json
306
335
```
307
336
337
+ ````
338
+
308
339
(convert-config)=
309
340
310
341
## Convert between YAML and JSON
311
342
343
+ ```` {tab} YAML -> JSON
344
+
312
345
```console
313
- $ tmuxp convert /path/to/file.{json, yaml}
346
+ $ tmuxp convert /path/to/file.yaml
314
347
```
315
348
349
+ ````
350
+
351
+ ```` {tab} JSON -> YAML
352
+
353
+ ```console
354
+ $ tmuxp convert /path/to/file.json
355
+ ```
356
+
357
+ ````
358
+
316
359
tmuxp automatically will prompt to convert ` .yaml ` to ` .json ` and
317
360
` .json ` to ` .yaml ` .
0 commit comments