Quick fix for #213 🔨

somehow uppercase letters in the plugin name make the server freeze and after the restart, it shows the "server exited unexpectedly" message!
This commit is contained in:
Nexn 2021-10-24 15:35:30 +03:30 committed by GitHub
parent 693e5a2a0f
commit e05d6c6589
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: