Skip to content

Commit

Permalink
Merge pull request #159 from GeoffreyFrogeye/xdg_default_value
Browse files Browse the repository at this point in the history
Default value for XDG_CONFIG_HOME
  • Loading branch information
bruno- committed Feb 18, 2020
2 parents 26d9ace + 7c3a16e commit 06d4122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/helpers/plugin_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 06d4122

Please sign in to comment.