From 51240eceb7c5948c3ccd1b0d7cbfc36b2f6b0b07 Mon Sep 17 00:00:00 2001 From: Franklin Yu Date: Thu, 6 Apr 2023 21:28:49 -0700 Subject: [PATCH] Improve comments upon request --- scripts/helpers/plugin_functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/helpers/plugin_functions.sh b/scripts/helpers/plugin_functions.sh index 683cd1e..0f6a4db 100644 --- a/scripts/helpers/plugin_functions.sh +++ b/scripts/helpers/plugin_functions.sh @@ -69,9 +69,10 @@ tpm_path() { } tpm_plugins_list_helper() { - # lists plugins from @tpm_plugins option local plugins + # lists plugins from @tpm_plugins option plugins="$(tmux start-server\; show-option -gqv "$tpm_plugins_variable_name")" + # allow comma as a plugin separator plugins="${plugins//,/ }" echo "$plugins"