From e05d6c6589b5b01d88526018c6baac1728e82ec3 Mon Sep 17 00:00:00 2001 From: Nexn <72174296+Itsnexn@users.noreply.github.com> Date: Sun, 24 Oct 2021 15:35:30 +0330 Subject: [PATCH] Quick fix for #213 :hammer: somehow uppercase letters in the plugin name make the server freeze and after the restart, it shows the "server exited unexpectedly" message! --- scripts/helpers/plugin_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helpers/plugin_functions.sh b/scripts/helpers/plugin_functions.sh index f33d215..566436d 100644 --- a/scripts/helpers/plugin_functions.sh +++ b/scripts/helpers/plugin_functions.sh @@ -74,7 +74,7 @@ tpm_plugins_list_helper() { # read set -g @plugin "tmux-plugins/tmux-example-plugin" entries _tmux_conf_contents "full" | - awk '/^[ \t]*set(-option)? +-g +@plugin/ { gsub(/'\''/,""); gsub(/'\"'/,""); print $4 }' + awk '/^[ \t]*set(-option)? +-g +@plugin/ { gsub(/'\''/,""); gsub(/'\"'/,""); print tolower($4) }' } # Allowed plugin name formats: