Merge pull request #159 from GeoffreyFrogeye/xdg_default_value

Default value for XDG_CONFIG_HOME
pull/171/head
Bruno Sutic 3 years ago committed by GitHub
commit 06d41226af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      scripts/helpers/plugin_functions.sh

@ -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…
Cancel
Save