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 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
|
||||||
|
|||||||
Reference in New Issue
Block a user