mirror of
https://github.com/tmux-plugins/tpm.git
synced 2025-09-14 00:46:56 +00:00
add removal procedure
This commit is contained in:
4
tpm
4
tpm
@ -28,12 +28,16 @@ source_plugins() {
|
||||
|
||||
# prefix + I - downloads TPM plugins and reloads TMUX environment
|
||||
# prefix + U - updates a plugin (or all of them) and reloads TMUX environment
|
||||
# prefix + Y - remove unused TPM plugins and reloads TMUX environment
|
||||
set_tpm_key_bindings() {
|
||||
local install_key=$(get_tmux_option "$install_key_option" "$default_install_key")
|
||||
tmux bind-key "$install_key" run-shell "$CURRENT_DIR/scripts/install_plugins.sh >/dev/null 2>&1"
|
||||
|
||||
local update_key=$(get_tmux_option "$update_key_option" "$default_update_key")
|
||||
tmux bind-key "$update_key" run-shell "$CURRENT_DIR/scripts/update_plugin_prompt.sh"
|
||||
|
||||
local clean_key=$(get_tmux_option "$clean_key_option" "$default_clean_key")
|
||||
tmux bind-key "$clean_key" run-shell "$CURRENT_DIR/scripts/clean_plugins.sh"
|
||||
}
|
||||
|
||||
supported_tmux_version_ok() {
|
||||
|
Reference in New Issue
Block a user