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

tmuxp: fix xdg dir checked
This commit is contained in:
Shohei YOSHIDA 2023-02-08 07:38:05 +09:00 committed by GitHub
commit 86d55972f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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