Skip to content

Commit 255242c

Browse files
committed
fix doc/cli
1 parent f762b47 commit 255242c

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

doc/cli.rst

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,37 @@ Freeze sessions
1111

1212
.. code-block:: bash
1313
14-
$ tmuxp freeze <filename>
14+
$ tmuxp freeze <session-name>
1515
1616
Tmuxp will offer to convert file to ``.json`` or ``.yaml``.
1717

18+
Load session
19+
""""""""""""
20+
21+
Keep your configs in ``$HOME/.tmuxp`` for easy access and detection by
22+
:ref:`bash_completion`.
23+
24+
Files also may be loaded by absolute path.
25+
26+
.. code-block:: bash
27+
28+
$ tmuxp load <filename>
29+
30+
Files named ``.tmuxp.yaml`` or ``.tmuxp.json`` in the current working
31+
directory may be loaded with:
32+
33+
.. code-block:: bash
34+
35+
$ tmuxp load .
36+
1837
Import
1938
""""""
2039

40+
.. _import_teamocil:
41+
2142
From teamocil
2243
'''''''''''''
2344

24-
.. _import_teamocil:
25-
2645
.. code-block:: bash
2746
2847
$ tmuxp import teamocil <filename>
@@ -41,13 +60,15 @@ From tmuxinator
4160
Convert between YAML and JSON
4261
"""""""""""""""""""""""""""""
4362

44-
.. _bash_completion:
63+
.. code-block:: bash
4564
4665
$ tmuxp convert <filename>
4766
4867
tmuxp automatically will prompt to convert ``.yaml`` to ``.json`` and
4968
``.json`` to ``.yaml``.
5069

70+
.. _bash_completion:
71+
5172
Bash completion
5273
"""""""""""""""
5374

0 commit comments

Comments
 (0)