mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-11-24 05:48:48 +00:00
fbed36ad0e
Closes #197
16 lines
468 B
Markdown
16 lines
468 B
Markdown
# 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 `~`.
|