tmux: Install/Update plugins in background
This commit is contained in:
parent
b6f33fc3c3
commit
108d8ac5a3
@ -36,7 +36,5 @@ if-shell "test ! -d ~/.config/tmux/plugins/tpm" {
|
|||||||
}
|
}
|
||||||
# start tpm
|
# start tpm
|
||||||
run-shell '~/.config/tmux/plugins/tpm/tpm'
|
run-shell '~/.config/tmux/plugins/tpm/tpm'
|
||||||
# install and update plugins
|
# install and update plugins in background
|
||||||
run-shell '$TMUX_PLUGIN_MANAGER_PATH/tpm/bin/install_plugins'
|
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'
|
||||||
run-shell '$TMUX_PLUGIN_MANAGER_PATH/tpm/bin/clean_plugins'
|
|
||||||
run-shell '$TMUX_PLUGIN_MANAGER_PATH/tpm/bin/update_plugins all'
|
|
||||||
|
Loading…
Reference in New Issue
Block a user