We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 206ded7 commit 0e46b92Copy full SHA for 0e46b92
scripts/helpers/plugin_functions.sh
@@ -20,15 +20,11 @@ _CACHED_TPM_PATH="$(_tpm_path)"
20
#
21
_get_user_tmux_conf() {
22
# Define the different possible locations.
23
- custom_location="$TMUX_PLUGIN_MANAGER_CONFIG_LOCATION"
24
xdg_location="$XDG_CONFIG_HOME/tmux/tmux.conf"
25
default_location="$HOME/.tmux.conf"
26
27
# 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
+ if [ -f "$xdg_location" ]; then
32
echo "$xdg_location"
33
34
else
0 commit comments