#!/bin/env bash # Welcome to Vimax! THIS_DIR=$(dirname $(realpath $0)) pushd . # Change to this files directory cd $THIS_DIR # Fetch dependencies (git submodules)... awk '/path = (.*)/{PATH=$3;next} /url = /{URL=$3;next} URL{system("git submodule add " URL " " PATH)}' .gitmodules git submodule update --init --remote --progress --recursive # compile YouCompleteMe # dependencies: python-certifi cd $THIS_DIR/pack/vim/opt/YouCompleteMe ./install.py --clang-completer popd