Merge pull request #159 from GeoffreyFrogeye/xdg_default_value

Default value for XDG_CONFIG_HOME
This commit is contained in:
Bruno Sutic authored and GitHub committed 2020-02-18 11:09:12 +01:00
commit 06d41226af
1 file changed
+1 -1
+1 -1
View File
@@ -20,7 +20,7 @@ _CACHED_TPM_PATH="$(_tpm_path)"
#
_get_user_tmux_conf() {
# Define the different possible locations.
xdg_location="$XDG_CONFIG_HOME/tmux/tmux.conf"
xdg_location="${XDG_CONFIG_HOME:-$HOME/.config}/tmux/tmux.conf"
default_location="$HOME/.tmux.conf"
# Search for the correct configuration file by priority.