File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ _tmux_conf_contents() {
28
28
# return files sourced from tmux config files
29
29
_sourced_files () {
30
30
_tmux_conf_contents |
31
- awk ' /^ *source(-file)? +/ { gsub(/' \' ' /,""); gsub(/' \" ' /,""); print $2 }'
31
+ awk ' /^[ \t] *source(-file)? +/ { gsub(/' \' ' /,""); gsub(/' \" ' /,""); print $2 }'
32
32
}
33
33
34
34
# PUBLIC FUNCTIONS BELOW
@@ -43,7 +43,7 @@ tpm_plugins_list_helper() {
43
43
44
44
# read set -g @plugin "tmux-plugins/tmux-example-plugin" entries
45
45
_tmux_conf_contents " full" |
46
- awk ' /^ *set(-option)? +-g +@plugin/ { gsub(/' \' ' /,""); gsub(/' \" ' /,""); print $4 }'
46
+ awk ' /^[ \t] *set(-option)? +-g +@plugin/ { gsub(/' \' ' /,""); gsub(/' \" ' /,""); print $4 }'
47
47
}
48
48
49
49
# Allowed plugin name formats:
You can’t perform that action at this time.
0 commit comments