Skip to content

Commit dfaeda4

Browse files
committed
docs: Improved highlighting in bash commands
1 parent e043f8d commit dfaeda4

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@ Python 2.x will be deprecated in libtmux 0.9. The backports branch is
2424

2525
# install
2626

27-
```sh
27+
```console
2828
$ pip install --user libtmux
2929
```
3030

3131
# open a tmux session
3232

3333
session name `foo`, window name `bar`
3434

35-
```sh
35+
```console
3636
$ tmux new-session -s foo -n bar
3737
```
3838

3939
# pilot your tmux session via python
4040

41-
```sh
41+
```console
4242
$ python
4343

4444
# or for nice autocomplete and syntax highlighting

docs/properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $ tmux
1717

1818
terminal two, `python` or `ptpython` if you have it:
1919

20-
```{code-block} sh
20+
```console
2121

2222
$ python
2323

docs/quickstart.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ from inside a live tmux session.
2525

2626
Next, ensure `libtmux` is installed:
2727

28-
```{code-block} bash
28+
```console
2929

3030
$ pip install --user libtmux
3131

@@ -35,7 +35,7 @@ $ pip install --user libtmux
3535

3636
Now, let's open a tmux session.
3737

38-
```{code-block} bash
38+
```console
3939

4040
$ tmux new-session -n bar -s foo
4141

@@ -59,15 +59,15 @@ Session name `-s`: `foo`
5959
6060
```
6161

62-
```{code-block} bash
62+
```console
6363

6464
$ python
6565

6666
```
6767

6868
For commandline completion, you can also use [ptpython].
6969

70-
```{code-block} bash
70+
```console
7171

7272
$ pip install --user ptpython
7373
$ ptpython

0 commit comments

Comments
 (0)