File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -19,25 +19,25 @@ _CACHED_TPM_PATH="$(_tpm_path)"
19
19
# This includes a prioritized search on different locations.
20
20
#
21
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"
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
26
27
- # Search for the correct configuration file by priority.
28
- if [ -n " $custom_location " ]; then
29
- echo " $custom_location "
27
+ # Search for the correct configuration file by priority.
28
+ if [ -n " $custom_location " ]; then
29
+ echo " $custom_location "
30
30
31
- elif [ -f " $xdg_location " ]; then
32
- echo " $xdg_location "
31
+ elif [ -f " $xdg_location " ]; then
32
+ echo " $xdg_location "
33
33
34
- else
35
- echo " $default_location "
36
- fi
34
+ else
35
+ echo " $default_location "
36
+ fi
37
37
}
38
38
39
39
_tmux_conf_contents () {
40
- user_config=$( _get_user_tmux_conf)
40
+ user_config=$( _get_user_tmux_conf)
41
41
cat /etc/tmux.conf " $user_config " 2> /dev/null
42
42
if [ " $1 " == " full" ]; then # also output content from sourced files
43
43
local file
You can’t perform that action at this time.
0 commit comments