mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
17 lines
402 B
Bash
17 lines
402 B
Bash
#!/bin/bash
|
|
vimdir=$(pwd)
|
|
pushd $vimdir/my_plugins > /dev/null
|
|
while IFS='' read -r line || [[ -n "$line" ]]; do
|
|
echo "Cloning $line"
|
|
git clone $line
|
|
done < "$vimdir/mypluginList"
|
|
popd > /dev/null
|
|
|
|
if [ -d $vimdir/my_plugins/YouCompleteMe ]; then
|
|
pushd $vimdir/my_plugins/YouCompleteMe > /dev/null
|
|
git submodule update --init --recursive
|
|
python install.py
|
|
popd > /dev/null
|
|
fi
|
|
|