mirror of
https://github.com/tmux-plugins/tpm.git
synced 2024-10-31 23:28:47 +00:00
Support comma as delimiter for “@tpm_plugins”
Note that empty elements will be ignored.
This commit is contained in:
parent
fc412cbdf7
commit
1a25c5cb00
@ -70,7 +70,10 @@ tpm_path() {
|
||||
|
||||
tpm_plugins_list_helper() {
|
||||
# lists plugins from @tpm_plugins option
|
||||
echo "$(tmux start-server\; show-option -gqv "$tpm_plugins_variable_name")"
|
||||
local plugins
|
||||
plugins="$(tmux start-server\; show-option -gqv "$tpm_plugins_variable_name")"
|
||||
plugins="${plugins//,/ }"
|
||||
echo "$plugins"
|
||||
|
||||
# read set -g @plugin "tmux-plugins/tmux-example-plugin" entries
|
||||
_tmux_conf_contents "full" |
|
||||
|
Loading…
Reference in New Issue
Block a user