Merge pull request #994 from infokiller/fix-tmuxp-custom-dir

tmuxp: fix xdg dir checked
This commit is contained in:
Shohei YOSHIDA authored and GitHub committed 2023-02-08 07:38:05 +09:00
commit 86d55972f5
1 file changed
+1 -1
+1 -1
View File
@@ -140,7 +140,7 @@ __tmuxp_load() {
# a dash.
local tmuxp_dir="${HOME}/.tmuxp"
local tmuxp_xdg_dir="${XDG_CONFIG_HOME:-${HOME}/.config}"
local tmuxp_xdg_dir="${XDG_CONFIG_HOME:-${HOME}/.config}/tmuxp"
if [[ -d "${TMUXP_CONFIGDIR-}" ]]; then
tmuxp_dir="${TMUXP_CONFIGDIR}"
elif [[ -d "${tmuxp_xdg_dir}" ]]; then