Updating install script and utilizing local mirros when possible
This commit is contained in:
10
vim-setup.sh
10
vim-setup.sh
@@ -1,7 +1,13 @@
|
||||
git clone https://github.com/lifepillar/vim-solarized8.git ~/.vim/pack/themes/opt/solarized8
|
||||
git clone ssh://git@192.168.0.44:2222/matt/vim-solarized8.git
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Cloned vim solarized theme from local mirror"
|
||||
else
|
||||
git clone https://github.com/lifepillar/vim-solarized8.git ~/.vim/pack/themes/opt/solarized8
|
||||
echo "Cloned vim solarized theme from github"
|
||||
fi
|
||||
|
||||
cat >> ~/.bashrc<< EOF
|
||||
sh ~/vim-solarized8/scripts/solarized8.sh
|
||||
sh ~/.vim/pack/themes/opt/solarized8/scripts/solarized8.sh
|
||||
EOF
|
||||
|
||||
cat > ~/.vimrc<< EOF
|
||||
|
||||
Reference in New Issue
Block a user