tmux: add resurrect to save/restore pane/window layout

This commit is contained in:
Oliver Ladner 2024-02-08 21:20:38 +01:00
commit 2f2a9657c2
47 changed files with 2579 additions and 0 deletions

View file

@ -0,0 +1,15 @@
# Resurrect save dir
By default Tmux environment is saved to a file in `~/.tmux/resurrect` dir.
Change this with:
set -g @resurrect-dir '/some/path'
Using environment variables or shell interpolation in this option is not
allowed as the string is used literally. So the following won't do what is
expected:
set -g @resurrect-dir '/path/$MY_VAR/$(some_executable)'
Only the following variables and special chars are allowed:
`$HOME`, `$HOSTNAME`, and `~`.