add branch support

This commit is contained in:
Rafał Rothenberger
2019-05-19 22:59:06 +02:00
parent 26d9ace1b4
commit fe5e13152a
4 changed files with 15 additions and 8 deletions

View File

@@ -30,7 +30,8 @@ source_plugins() {
local plugin plugin_path
local plugins="$(tpm_plugins_list_helper)"
for plugin in $plugins; do
plugin_path="$(plugin_path_helper "$plugin")"
IFS='#' read -ra plugin <<< "$plugin"
plugin_path="$(plugin_path_helper "${plugin[0]}")"
silently_source_all_tmux_files "$plugin_path"
done
}