File tree Expand file tree Collapse file tree 3 files changed +16
-18
lines changed Expand file tree Collapse file tree 3 files changed +16
-18
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ connect to a live tmux session:
55
55
< libtmux.server.Server object at 0x 7fbd622c1dd0>
56
56
```
57
57
58
- FYI : You can also use [ tmuxp] 's [ ` tmuxp shell ` ] to drop straight into your
58
+ Tip : You can also use [ tmuxp] 's [ ` tmuxp shell ` ] to drop straight into your
59
59
current tmux server / session / window pane.
60
60
61
61
[ tmuxp ] : https://tmuxp.git-pull.com/
Original file line number Diff line number Diff line change @@ -19,20 +19,6 @@ $ tmux
19
19
20
20
Make sure you have {ref}` libtmux installed <installation> ` :
21
21
22
- ``` {code-block} sh
23
-
24
- pip install libtmux
25
-
26
- ```
27
-
28
- To upgrade:
29
-
30
- ``` {code-block} sh
31
-
32
- pip install -U libtmux
33
-
34
- ```
35
-
36
22
:::::
37
23
38
24
terminal two, ` python ` or ` ptpython ` if you have it:
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Next, ensure `libtmux` is installed:
27
27
28
28
``` {code-block} bash
29
29
30
- $ [sudo] pip install libtmux
30
+ $ pip install --user libtmux
31
31
32
32
```
33
33
@@ -65,15 +65,17 @@ $ python
65
65
66
66
```
67
67
68
- For commandline completion, you can also use [ ptpython] [ ptpython ] .
68
+ For commandline completion, you can also use [ ptpython] .
69
69
70
70
``` {code-block} bash
71
71
72
- $ [sudo] pip install ptpython
72
+ $ pip install --user ptpython
73
73
$ ptpython
74
74
75
75
```
76
76
77
+ [ ptpython ] : https://github.com/prompt-toolkit/ptpython
78
+
77
79
``` {module} libtmux
78
80
79
81
```
@@ -89,6 +91,16 @@ First, we can grab a {class}`Server`.
89
91
90
92
```
91
93
94
+ :::{tip}
95
+
96
+ You can also use [ tmuxp] 's [ ` tmuxp shell ` ] to drop straight into your
97
+ current tmux server / session / window pane.
98
+
99
+ [ tmuxp ] : https://tmuxp.git-pull.com/
100
+ [ `tmuxp shell` ] : https://tmuxp.git-pull.com/cli.html#shell
101
+
102
+ :::
103
+
92
104
:::{note}
93
105
94
106
You can specify a ` socket_name ` , ` socket_path ` and ` config_file `
You can’t perform that action at this time.
0 commit comments