mirror of
https://github.com/tmux-plugins/tpm.git
synced 2024-12-04 18:58:49 +00:00
Remove _CONFIG_LOCATION variable again.
It has been decided that this feature should been removed until it will be requested.
This commit is contained in:
parent
206ded75d8
commit
0e46b92aba
@ -20,15 +20,11 @@ _CACHED_TPM_PATH="$(_tpm_path)"
|
|||||||
#
|
#
|
||||||
_get_user_tmux_conf() {
|
_get_user_tmux_conf() {
|
||||||
# Define the different possible locations.
|
# Define the different possible locations.
|
||||||
custom_location="$TMUX_PLUGIN_MANAGER_CONFIG_LOCATION"
|
|
||||||
xdg_location="$XDG_CONFIG_HOME/tmux/tmux.conf"
|
xdg_location="$XDG_CONFIG_HOME/tmux/tmux.conf"
|
||||||
default_location="$HOME/.tmux.conf"
|
default_location="$HOME/.tmux.conf"
|
||||||
|
|
||||||
# Search for the correct configuration file by priority.
|
# Search for the correct configuration file by priority.
|
||||||
if [ -n "$custom_location" ]; then
|
if [ -f "$xdg_location" ]; then
|
||||||
echo "$custom_location"
|
|
||||||
|
|
||||||
elif [ -f "$xdg_location" ]; then
|
|
||||||
echo "$xdg_location"
|
echo "$xdg_location"
|
||||||
|
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user