Skip to content

Commit abbc4fb

Browse files
authored
Merge pull request #381 from chrysn-pull-requests/doc-improvement
More explicit warning of restoring :all: programs
2 parents 1c0eae5 + dff7b2d commit abbc4fb

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/restoring_programs.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,18 @@ contains space-separated list of additional programs to restore.
3232

3333
set -g @resurrect-processes 'false'
3434

35-
- Restore **all** programs (be careful with this!):
35+
- Restore **all** programs (dangerous!):
3636

3737
set -g @resurrect-processes ':all:'
3838

39+
Be *very careful* with this: tmux-resurrect can not know which programs take
40+
which context, and a `sudo mkfs.vfat /dev/sdb` that was just formatting an
41+
external USB stick could wipe your backup hard disk if that's what's attached
42+
after rebooting.
43+
44+
This option is primarily useful for experimentation (e.g., to find out which
45+
program is recognized in a pane).
46+
3947
### Clarifications <a name="clarfications"></a>
4048

4149
> I don't understand tilde `~`, what is it and why is it used when restoring

0 commit comments

Comments
 (0)