mirror of https://github.com/tmux-plugins/tpm.git
Merge 51240eceb7
into 99469c4a9b
This commit is contained in:
commit
2d9b641cc7
|
@ -69,8 +69,12 @@ tpm_path() {
|
||||||
}
|
}
|
||||||
|
|
||||||
tpm_plugins_list_helper() {
|
tpm_plugins_list_helper() {
|
||||||
|
local plugins
|
||||||
# lists plugins from @tpm_plugins option
|
# 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
|
# read set -g @plugin "tmux-plugins/tmux-example-plugin" entries
|
||||||
_tmux_conf_contents "full" |
|
_tmux_conf_contents "full" |
|
||||||
|
|
Loading…
Reference in New Issue