Skip to content

Commit 23f005a

Browse files
authored
chore(docs): Mention XDG_DATA_HOME in save_dir.md (#5)
After XDG_DATA_HOME/tmux/resurrect was introduced as a fallback for resurrect-dir, only docs/restoring_previously_saved_environment.md was updated. Mention the new location also in the documentation about the save directory. authored-by: Julian Prein <[email protected]>
1 parent 6efbda2 commit 23f005a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/save_dir.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Resurrect save dir
22

3-
By default Tmux environment is saved to a file in `~/.tmux/resurrect` dir.
3+
By default the Tmux environment is saved to a file in the `~/.tmux/resurrect`
4+
directory if it exists or `$XDG_DATA_HOME/tmux/resurrect` otherwise (which in
5+
turn falls back to `~/.local/share/tmux/resurrect` if `XDG_DATA_HOME` is unset).
46
Change this with:
57

68
set -g @resurrect-dir '/some/path'

0 commit comments

Comments
 (0)