@@ -35,50 +35,46 @@ See: `Quickstart`_
35
35
CLI Commands
36
36
""""""""""""
37
37
38
- ==========================
39
-
40
- ``tmuxp attach-session ``
41
- ``tmuxp kill-session ``
42
- ``tmuxp convert ``
43
- ``tmuxp import ``
44
- ``tmuxp import ``
45
-
46
- tmuxp uses ``switch-client `` for you if already in a TMUX client.
47
-
48
- .. code-block :: bash
49
-
50
- $ tmuxp attach-session< tab> # current sessions
51
-
52
- Kill session
38
+ ========================== ==============================================
39
+ ``tmuxp attach-session `` ``<session_name> ``
40
+ tmuxp uses ``switch-client `` if already inside
41
+ tmux client.
42
+ ``tmuxp kill-session `` ``<session name> ``.
43
+ ``tmuxp load `` ``<file> ``. Load a workspace yaml / json file.
44
+ If session already made, will offer to attach.
45
+ ``tmuxp convert `` ``<file> ``. Convert session yaml / json.
46
+ ``tmuxp import `` ``[teamocil | tmuxinator] `` ``<file> `` import
47
+ a `teamocil `_ or `tmuxinator `_ config.
48
+ ========================== ==============================================
49
+
50
+ Bash completion
51
+ """""""""""""""
52
+
53
+ For bash, ``.bashrc ``:
53
54
54
55
.. code-block :: bash
55
56
56
- $ tmuxp kill-session < tab > # current sessions
57
+ $ source tmuxp.bash
57
58
58
- Load a session configuration from a YAML or JSON file.
59
+ For tcsh, `` .tcshrc ``:
59
60
60
61
.. code-block :: bash
61
62
62
- $ tmuxp load < tab > # configs in config dir, current directory
63
+ $ complete tmuxp ' p/*/`tmuxp.tcsh`/ '
63
64
64
- Convert a session config JSON <=> YAML :
65
+ For zsh, `` .zshrc `` :
65
66
66
67
.. code-block :: bash
67
68
68
- $ tmuxp convert< tab> # configs in config dir, current directory
69
-
70
- Experimental: Import configuration from `teamocil `_ or `tmuxinator `_:
71
-
72
- .. code-block :: bash
73
-
74
- $ tmuxp import teamocil< tab> # configs in ~/.teamocil dir
75
- $ tmuxp import tmuxinator< tab> # configs in ~/.tmuxinator dir
69
+ $ source tmuxp.zsh
76
70
77
71
See `installing bash completion `_ to get bash, zsh and tcsh completion
78
72
working on your machine.
79
73
80
- load tmux sessions from yaml and json
81
- """""""""""""""""""""""""""""""""""""
74
+ Mini Quickstart
75
+ """""""""""""""
76
+
77
+ See the full `Quickstart `_ in the documentation.
82
78
83
79
Load from ``~/.tmuxp.yaml `` or ``~/.tmuxp.json `` in current directory.
84
80
0 commit comments