This commit is contained in:
Franklin Yu 2023-04-06 21:36:08 -07:00 committed by GitHub
commit 2d9b641cc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -69,8 +69,12 @@ tpm_path() {
}
tpm_plugins_list_helper() {
local plugins
# lists plugins from @tpm_plugins option
echo "$(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//,/ }"
echo "$plugins"
# read set -g @plugin "tmux-plugins/tmux-example-plugin" entries
_tmux_conf_contents "full" |