Don't install tpm if it's already there
This commit is contained in:
10
install
10
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
|
||||
|
||||
Reference in New Issue
Block a user