From 39ec34d4b776b0e0c4c5483d3e0513b2aabb4f78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=A0=D0=B0?= =?UTF-8?q?=D0=BC=D0=B0=D0=B7=D0=B0=D0=BD=D0=BE=D0=B2?= Date: Tue, 19 May 2026 14:33:29 +0500 Subject: [PATCH] Auto install tpm and plugins --- tmux/tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index f6df11c..cf0d77a 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -375,5 +375,9 @@ bind -T off C-q \ set -u window-status-current-format \;\ refresh-client -S +# Auto install tpm and plugins automatically when tmux is started +if "test ! -d ~/.tmux/plugins/tpm" \ + "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'" + # Initialize TPM (must be last) run '~/.tmux/plugins/tpm/tpm'