Merge pull request #381 from chrysn-pull-requests/doc-improvement

More explicit warning of restoring :all: programs
pull/387/head
Bruno Sutic 2021-03-18 11:52:35 +01:00 committed by GitHub
commit abbc4fbfc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -32,10 +32,18 @@ contains space-separated list of additional programs to restore.
set -g @resurrect-processes 'false'
- Restore **all** programs (be careful with this!):
- Restore **all** programs (dangerous!):
set -g @resurrect-processes ':all:'
Be *very careful* with this: tmux-resurrect can not know which programs take
which context, and a `sudo mkfs.vfat /dev/sdb` that was just formatting an
external USB stick could wipe your backup hard disk if that's what's attached
after rebooting.
This option is primarily useful for experimentation (e.g., to find out which
program is recognized in a pane).
### Clarifications <a name="clarfications"></a>
> I don't understand tilde `~`, what is it and why is it used when restoring