From 03c8937505e56e1d86c9c796d9ff27093883f8c5 Mon Sep 17 00:00:00 2001 From: srdusr Date: Wed, 12 Apr 2023 20:07:58 +0200 Subject: Allow tpm to bootstrap --- .config/tmux/tmux.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 300a0fd..25effb5 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -257,6 +257,8 @@ set -g @plugin "christoomey/vim-tmux-navigator" # TMUX plugin manager (keep at the bottom of tmux.conf) #run -b "~/.tmux/plugins/tpm/tpm" + if "test ! -d ~/.config/tmux/plugins/tpm" \ + "run 'git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm && ~/.config/tmux/plugins/tpm/bin/install_plugins'" run -b "~/.config/tmux/plugins/tpm/tpm" -- cgit v1.2.3