Skip to content

Commit 0e46b92

Browse files
authored
Remove _CONFIG_LOCATION variable again.
It has been decided that this feature should been removed until it will be requested.
1 parent 206ded7 commit 0e46b92

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

scripts/helpers/plugin_functions.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,11 @@ _CACHED_TPM_PATH="$(_tpm_path)"
2020
#
2121
_get_user_tmux_conf() {
2222
# Define the different possible locations.
23-
custom_location="$TMUX_PLUGIN_MANAGER_CONFIG_LOCATION"
2423
xdg_location="$XDG_CONFIG_HOME/tmux/tmux.conf"
2524
default_location="$HOME/.tmux.conf"
2625

2726
# Search for the correct configuration file by priority.
28-
if [ -n "$custom_location" ]; then
29-
echo "$custom_location"
30-
31-
elif [ -f "$xdg_location" ]; then
27+
if [ -f "$xdg_location" ]; then
3228
echo "$xdg_location"
3329

3430
else

0 commit comments

Comments
 (0)