17 lines
451 B
Bash
Executable File
17 lines
451 B
Bash
Executable File
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/pack/themes/opt/solarized8/scripts/solarized8.sh
|
|
EOF
|
|
|
|
cat > ~/.vimrc<< EOF
|
|
set background=dark
|
|
colorscheme solarized8
|
|
EOF
|