Skip to content

Commit 1e12979

Browse files
committed
add additional documentation on the freeze command
1 parent 8796695 commit 1e12979

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/cli.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,18 @@ Freeze sessions
122122

123123
::
124124

125+
tmuxp freeze
125126
tmuxp freeze <session_name>
127+
tmuxp freeze --force <session_name>
126128

127129
You can save the state of your tmux session by freezing it.
128130

129131
Tmuxp will offer to save your session state to ``.json`` or ``.yaml``.
130132

133+
If no session is specified, it will default to the attached session.
134+
135+
If the `--force` argument is passed, it will overwrite any existing config file with the same name.
136+
131137
.. _cli_load:
132138

133139
Load session

0 commit comments

Comments
 (0)