Don't install tpm if it's already there

This commit is contained in:
2019-10-18 11:17:31 +01:00
parent 40a8098710
commit 1f68473e23

10
install
View File

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