1
0
mirror of https://github.com/tmux-plugins/tpm.git synced 2024-06-22 07:06:42 +02:00

Improve comments upon request

This commit is contained in:
Franklin Yu 2023-04-06 21:28:49 -07:00
parent 1a25c5cb00
commit 51240eceb7

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"