Skip to content

Commit aa48143

Browse files
committed
add additional documentation on the freeze command
1 parent bfc0e07 commit aa48143

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/cli.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,19 @@ my_window
130130
## Freeze sessions
131131

132132
```
133+
tmuxp freeze
133134
tmuxp freeze <session_name>
135+
tmuxp freeze --force <session_name>
134136
```
135137

136138
You can save the state of your tmux session by freezing it.
137139

138140
Tmuxp will offer to save your session state to `.json` or `.yaml`.
139141

142+
If no session is specified, it will default to the attached session.
143+
144+
If the `--force` argument is passed, it will overwrite any existing config file with the same name.
145+
140146
(cli-load)=
141147

142148
## Load session

0 commit comments

Comments
 (0)