From 0e46b92aba3938d391c21738ab39b7c0ad4fcf2f Mon Sep 17 00:00:00 2001 From: Thore Weilbier Date: Wed, 7 Nov 2018 09:31:21 +0100 Subject: [PATCH] Remove _CONFIG_LOCATION variable again. It has been decided that this feature should been removed until it will be requested. --- scripts/helpers/plugin_functions.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/helpers/plugin_functions.sh b/scripts/helpers/plugin_functions.sh index 44f8e91..cbd1b55 100644 --- a/scripts/helpers/plugin_functions.sh +++ b/scripts/helpers/plugin_functions.sh @@ -20,15 +20,11 @@ _CACHED_TPM_PATH="$(_tpm_path)" # _get_user_tmux_conf() { # Define the different possible locations. - custom_location="$TMUX_PLUGIN_MANAGER_CONFIG_LOCATION" xdg_location="$XDG_CONFIG_HOME/tmux/tmux.conf" default_location="$HOME/.tmux.conf" # Search for the correct configuration file by priority. - if [ -n "$custom_location" ]; then - echo "$custom_location" - - elif [ -f "$xdg_location" ]; then + if [ -f "$xdg_location" ]; then echo "$xdg_location" else