add branch support

This commit is contained in:
Rafał Rothenberger committed 2019-05-19 23:26:00 +02:00
1 parent 26d9ace1b4
commit fe5e13152a
4 files changed
+15 -8

No files matched your search

+2 -1
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
}