1
0
Fork 0
mirror of synced 2024-12-13 19:05:45 -05:00

Default value for XDG_CONFIG_HOME

This commit is contained in:
Geoffrey Frogeye 2019-07-16 20:58:31 +02:00 committed by GitHub
parent 26d9ace1b4
commit 7c3a16e243
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.