@@ -14,15 +14,15 @@ See the [click library's documentation on shell completion](https://click.pallet
1414
1515In bash (` ~/.bashrc ` ):
1616
17- ``` {code-block} sh
17+ ``` console
1818
1919eval "$(_TMUXP_COMPLETE=bash_source tmuxp)"
2020
2121```
2222
2323In zsh (` ~/.zshrc ` ):
2424
25- ``` {code-block} sh
25+ ``` console
2626
2727eval "$(_TMUXP_COMPLETE=zsh_source tmuxp)"
2828
@@ -78,7 +78,7 @@ Pane(%6 Window(@3 1:your_window, Session($1 your_project)))
7878Python 3.7 supports [PEP 553][pep 553]'s `PYTHONBREAKPOINT` and supports
7979compatible debuggers, for instance [ipdb][ipdb]:
8080
81- ```{code-block} sh
81+ ```console
8282
8383$ pip install --user ipdb
8484$ env PYTHONBREAKPOINT=ipdb.set_trace tmuxp shell
@@ -87,7 +87,7 @@ $ env PYTHONBREAKPOINT=ipdb.set_trace tmuxp shell
8787You can also pass in python code directly, similar to ` python -c ` , do
8888this via ` tmuxp -c ` :
8989
90- ``` {code-block} shell
90+ ``` consoleell
9191
9292$ tmuxp shell -c 'print(session.name); print(window.name)'
9393my_server
@@ -157,25 +157,25 @@ shorthands:
1571572 . The name of the project file in your {}` $HOME/.tmuxp ` folder
1581583 . The direct path of the tmuxp file you want to load
159159
160- ```
160+ ``` console
161161# path to folder with .tmuxp.{yaml,yml,json}
162- tmuxp load .
163- tmuxp load ../
164- tmuxp load path/to/folder/
165- tmuxp load /path/to/folder/
162+ $ tmuxp load .
163+ $ tmuxp load ../
164+ $ tmuxp load path/to/folder/
165+ $ tmuxp load /path/to/folder/
166166
167167# name of the config, assume $HOME /.tmuxp/myconfig.yaml
168- tmuxp load myconfig
168+ $ tmuxp load myconfig
169169
170170# direct path to json/yaml file
171- tmuxp load ./myfile.yaml
172- tmuxp load /abs/path/to/myfile.yaml
173- tmuxp load ~/myfile.yaml
171+ $ tmuxp load ./myfile.yaml
172+ $ tmuxp load /abs/path/to/myfile.yaml
173+ $ tmuxp load ~ /myfile.yaml
174174```
175175
176176Absolute and relative directory paths are supported.
177177
178- ``` {code-block} bash
178+ ``` console
179179
180180$ tmuxp load < filename>
181181
@@ -184,7 +184,7 @@ $ tmuxp load <filename>
184184Files named ` .tmuxp.yaml ` or ` .tmuxp.json ` in the current working
185185directory may be loaded with:
186186
187- ``` {code-block} bash
187+ ``` console
188188
189189$ tmuxp load .
190190
@@ -202,15 +202,17 @@ Or (a)ppend windows in the current active session?
202202
203203All of these options can be preselected to skip the prompt:
204204
205- ``` {code-block} bash $ tmuxp load -y config # load attached $ tmuxp load -d config # load detached $ tmuxp load -a config # append windows
206-
205+ ``` console
206+ $ tmuxp load -y config # load attached
207+ $ tmuxp load -d config # load detached
208+ $ tmuxp load -a config # append windows
207209```
208210
209211Multiple sessions can be loaded at once. The first ones will be created
210212without being attached. The last one will be attached if there is no
211213` -d ` flag on the command line.
212214
213- ``` {code-block} bash
215+ ``` console
214216
215217$ tmuxp load < filename1> < filename2> ...
216218
@@ -219,7 +221,7 @@ $ tmuxp load <filename1> <filename2> ...
219221A session name can be provided at the terminal. If multiple sessions
220222are created, the last session is named from the terminal.
221223
222- ``` {code-block} bash
224+ ``` console
223225
224226$ tmuxp load -s < new_session_name> < filename1> ...
225227
@@ -229,7 +231,7 @@ The output of the `load` command can be logged to a file for
229231debugging purposes. the log level can be controlled with the global
230232` --log-level ` option (defaults to INFO).
231233
232- ``` {code-block} bash
234+ ``` console
233235
234236$ tmuxp load < filename> --log-file < log_filename>
235237$ tmuxp --log-level < LEVEL> load < filename> --log-file < log_filename>
@@ -243,7 +245,7 @@ $ tmuxp --log-level <LEVEL> load <filename> --log-file <log_filename>
243245Use to collect all relevant information for submitting an issue to
244246the project.
245247
246- ``` {code-block} bash
248+ ``` console
247249
248250$ tmuxp debug-info
249251--------------------------
0 commit comments