mirror of
https://github.com/tmux-plugins/tpm.git
synced 2024-12-04 10:48:47 +00:00
Default value for XDG_CONFIG_HOME
This commit is contained in:
parent
26d9ace1b4
commit
7c3a16e243
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user