Skip to content

Commit 97cbbe9

Browse files
committed
docs(cli): More highlighting
1 parent f35db5e commit 97cbbe9

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

docs/cli.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ eval "$(_TMUXP_COMPLETE=zsh_source tmuxp)"
3535
```console
3636
$ tmuxp shell
3737

38-
$ tmuxp shell <session_name>
38+
$ tmuxp shell [session_name]
3939

40-
$ tmuxp shell <session_name> <window_name>
40+
$ tmuxp shell [session_name] [window_name]
4141

4242
$ tmuxp shell -c 'python code'
4343
```
@@ -129,10 +129,10 @@ my_window
129129

130130
## Freeze sessions
131131

132-
```
133-
tmuxp freeze
134-
tmuxp freeze <session_name>
135-
tmuxp freeze --force <session_name>
132+
```console
133+
$ tmuxp freeze
134+
$ tmuxp freeze [session_name]
135+
$ tmuxp freeze --force [session_name]
136136
```
137137

138138
You can save the state of your tmux session by freezing it.
@@ -174,7 +174,7 @@ Absolute and relative directory paths are supported.
174174

175175
```console
176176

177-
$ tmuxp load <filename>
177+
$ tmuxp load [filename]
178178

179179
```
180180

@@ -211,7 +211,7 @@ without being attached. The last one will be attached if there is no
211211

212212
```console
213213

214-
$ tmuxp load <filename1> <filename2> ...
214+
$ tmuxp load [filename1] [filename2] ...
215215

216216
```
217217

@@ -220,7 +220,7 @@ are created, the last session is named from the terminal.
220220

221221
```console
222222

223-
$ tmuxp load -s <new_session_name> <filename1> ...
223+
$ tmuxp load -s [new_session_name] [filename1] ...
224224

225225
```
226226

@@ -230,8 +230,8 @@ debugging purposes. the log level can be controlled with the global
230230

231231
```console
232232

233-
$ tmuxp load <filename> --log-file <log_filename>
234-
$ tmuxp --log-level <LEVEL> load <filename> --log-file <log_filename>
233+
$ tmuxp load [filename] --log-file [log_filename]
234+
$ tmuxp --log-level [LEVEL] load [filename] --log-file [log_filename]
235235

236236
```
237237

@@ -261,24 +261,24 @@ environment:
261261

262262
### From teamocil
263263

264-
```
265-
tmuxp import teamocil /path/to/file.{json,yaml}
264+
```console
265+
$ tmuxp import teamocil /path/to/file.{json,yaml}
266266
```
267267

268268
(import-tmuxinator)=
269269

270270
### From tmuxinator
271271

272-
```
273-
tmuxp import tmuxinator /path/to/file.{json,yaml}
272+
```console
273+
$ tmuxp import tmuxinator /path/to/file.{json,yaml}
274274
```
275275

276276
(convert-config)=
277277

278278
## Convert between YAML and JSON
279279

280-
```
281-
tmuxp convert /path/to/file.{json,yaml}
280+
```console
281+
$ tmuxp convert /path/to/file.{json,yaml}
282282
```
283283

284284
tmuxp automatically will prompt to convert `.yaml` to `.json` and

0 commit comments

Comments
 (0)