From 187c6652a2bd66b48fcadd4a66104066a6c3a257 Mon Sep 17 00:00:00 2001 From: aminnairi <18418459+aminnairi@users.noreply.github.com> Date: Thu, 27 Jul 2023 11:34:40 +0200 Subject: [PATCH] removed tpm --- fish/functions/tmux.fish | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/fish/functions/tmux.fish b/fish/functions/tmux.fish index 903a88d..18a5f38 100644 --- a/fish/functions/tmux.fish +++ b/fish/functions/tmux.fish @@ -5,24 +5,6 @@ function tmux omf update end - if test ! -d ~/.tmux/plugins/tpm - # Install TPM if it is not already installed - git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm - - # Install TPM plugins - ~/.tmux/plugins/tpm/bin/install_plugins - else - # Install plugins that are not already installed - ~/.tmux/plugins/tpm/bin/install_plugins - - # Update plugins that needs update - ~/.tmux/plugins/tpm/bin/update_plugins all - - # Clean plugins that are not used anymore - ~/.tmux/plugins/tpm/bin/update_plugins all - end - end - # Execute TMUX - /usr/bin/tmux $argv + /usr/bin/tmux -u $argv end