tmux: Install/Update plugins in background

This commit is contained in:
Adam Goldsmith 2023-04-09 03:03:28 -04:00
parent b6f33fc3c3
commit 108d8ac5a3

View File

@ -36,7 +36,5 @@ if-shell "test ! -d ~/.config/tmux/plugins/tpm" {
}
# start tpm
run-shell '~/.config/tmux/plugins/tpm/tpm'
# install and update plugins
run-shell '$TMUX_PLUGIN_MANAGER_PATH/tpm/bin/install_plugins'
run-shell '$TMUX_PLUGIN_MANAGER_PATH/tpm/bin/clean_plugins'
run-shell '$TMUX_PLUGIN_MANAGER_PATH/tpm/bin/update_plugins all'
# install and update plugins in background
run-shell -b '($TMUX_PLUGIN_MANAGER_PATH/tpm/bin/install_plugins && $TMUX_PLUGIN_MANAGER_PATH/tpm/bin/clean_plugins && $TMUX_PLUGIN_MANAGER_PATH/tpm/bin/update_plugins all && $TMUX_PLUGIN_MANAGER_PATH/tpm/scripts/source_plugins.sh) > /dev/null'