Skip to content

Commit 7c3a16e

Browse files
Default value for XDG_CONFIG_HOME
1 parent 26d9ace commit 7c3a16e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/helpers/plugin_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ _CACHED_TPM_PATH="$(_tpm_path)"
2020
#
2121
_get_user_tmux_conf() {
2222
# Define the different possible locations.
23-
xdg_location="$XDG_CONFIG_HOME/tmux/tmux.conf"
23+
xdg_location="${XDG_CONFIG_HOME:-$HOME/.config}/tmux/tmux.conf"
2424
default_location="$HOME/.tmux.conf"
2525

2626
# Search for the correct configuration file by priority.

0 commit comments

Comments
 (0)