mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-11-22 04:18:48 +00:00
Merge pull request #458 from oliverlew/xdg_dir
use XDG_DATA_HOME for resurrect-dir path
This commit is contained in:
commit
a2ddfb96b9
@ -1,4 +1,8 @@
|
|||||||
|
if [ -d "$HOME/.tmux/resurrect" ]; then
|
||||||
default_resurrect_dir="$HOME/.tmux/resurrect"
|
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