tmuxp: fix xdg dir checked

This commit is contained in:
Yoni Weill 2023-02-07 16:05:31 +02:00
parent 828fe2bd3c
commit a2c3a97252
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