From 530941757f691416b1c57298e29552aa6a496034 Mon Sep 17 00:00:00 2001 From: David Zukowski Date: Tue, 8 May 2018 16:01:54 -0700 Subject: [PATCH] feat(make): automatically install tmux plugins --- make.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/make.sh b/make.sh index 375818d..4836eda 100755 --- a/make.sh +++ b/make.sh @@ -73,8 +73,10 @@ brew tap caskroom/fonts && brew cask install font-source-code-pro #}}} # Misc ------------------------------------------------ {{{ -# Tmux Plugin Manager: use `prefix` + I to install plugins -git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm +if [ ! -d ~/.tmux/plugins/tpm ]; then + git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm +fi +~/.tmux/plugins/tpm/scripts/install_plugins.sh # Intall custom terminfo that enables italics support tic ./config/xterm/xterm-256color-italic.terminfo