@@ -38,13 +38,12 @@ tmux bash completion
38
38
39
39
.. code-block :: bash
40
40
41
+ # tmuxp uses ``switch-client`` for you if already in a TMUX client.
41
42
$ tmuxp attach-session< tab>
42
- # tmuxp will also automatically ``switch-client`` if you are already
43
- # inside a tmux client.
44
43
$ tmuxp kill-session< tab>
44
+
45
+ # load a session configuration from a YAML or JSON file.
45
46
$ tmuxp load< tab>
46
- # load a session configuration with windows, panes, autocommands from
47
- # a YAML or JSON file.
48
47
49
48
See: `bash completion `_
50
49
@@ -53,13 +52,12 @@ load tmux sessions from yaml and json
53
52
54
53
.. code-block :: bash
55
54
56
- $ tmuxp load .
57
55
# Load from ``~/.tmuxp.yaml`` or ``~/.tmuxp.json`` in current directory.
56
+ $ tmuxp load .
58
57
59
- $ tmuxp load myconfig.yaml
60
-
61
- # Load ``myconfig.yaml``, checking current directory, then
58
+ # Load ``myconfig.yaml``, checking current directory, then
62
59
# ``$HOME/.tmuxp/myconfig.yaml``.
60
+ $ tmuxp load myconfig.yaml
63
61
64
62
tmuxp will prompt you if session is already running, press ``[Enter] ``
65
63
to attach the session automatically.
@@ -69,7 +67,6 @@ for you.
69
67
70
68
See: `Examples `_
71
69
72
-
73
70
============== ==========================================================
74
71
tmux support 1.8, 1.9-dev
75
72
config support yaml, json, python dict
0 commit comments