mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-11-21 20:08:48 +00:00
use XDG_DATA_HOME for resurrect-dir path
This commit is contained in:
parent
88297b4c3a
commit
dd36a4561b
@ -1,4 +1,8 @@
|
|||||||
default_resurrect_dir="$HOME/.tmux/resurrect"
|
if [ -d "$HOME/.tmux/resurrect" ]; then
|
||||||
|
default_resurrect_dir="$HOME/.tmux/resurrect"
|
||||||
|
else
|
||||||
|
default_resurrect_dir="${XDG_DATA_HOME:-$HOME/.local/share}"/tmux/resurrect
|
||||||
|
fi
|
||||||
resurrect_dir_option="@resurrect-dir"
|
resurrect_dir_option="@resurrect-dir"
|
||||||
|
|
||||||
SUPPORTED_VERSION="1.9"
|
SUPPORTED_VERSION="1.9"
|
||||||
|
Loading…
Reference in New Issue
Block a user