tmuxp: fix xdg dir checked
This commit is contained in:
parent
828fe2bd3c
commit
a2c3a97252
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue