Improve comments upon request

This commit is contained in:
Franklin Yu 2023-04-06 21:28:49 -07:00
parent 1a25c5cb00
commit 51240eceb7
1 changed files with 2 additions and 1 deletions

View File

@ -69,9 +69,10 @@ tpm_path() {
} }
tpm_plugins_list_helper() { tpm_plugins_list_helper() {
# lists plugins from @tpm_plugins option
local plugins local plugins
# lists plugins from @tpm_plugins option
plugins="$(tmux start-server\; show-option -gqv "$tpm_plugins_variable_name")" plugins="$(tmux start-server\; show-option -gqv "$tpm_plugins_variable_name")"
# allow comma as a plugin separator
plugins="${plugins//,/ }" plugins="${plugins//,/ }"
echo "$plugins" echo "$plugins"