diff --git a/install b/install index b54f5aa..369c820 100755 --- a/install +++ b/install @@ -72,10 +72,12 @@ git config --global user.name "Paul Walker" # git config --global user.signingKey FEF9C627 # git config --global commit.gpgsign true -git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm -if [ "$TMUX" != "" ] ; then - # If we're currently in tmux, source the new file. - tmux source-file ~/.tmux.conf +if [ ! -d ~/.tmux/plugins/tpm ] ; then + git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm + if [ "$TMUX" != "" ] ; then + # If we're currently in tmux, source the new file. + tmux source-file ~/.tmux.conf + fi fi ./install-vim