From 39bc30f468c8e3cc8b4a670c286b781aa6ce22bc Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sat, 2 Nov 2019 09:12:59 +0200 Subject: [PATCH] Added tpm autoinstall Signed-off-by: Marko Korhonen --- home/.tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/.tmux.conf b/home/.tmux.conf index 9512038..5b8b02e 100644 --- a/home/.tmux.conf +++ b/home/.tmux.conf @@ -1,3 +1,7 @@ +# autoinstall tpm +if "test ! -d ~/.tmux/plugins/tpm" \ + "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'" + # change prefix to ctrl+a unbind C-b set -g prefix C-a