Add installvim script
This commit is contained in:
parent
fc24d65225
commit
52377dfb22
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
mkdir -p $HOME/dev
|
||||||
|
destdir=$HOME/dev/vim
|
||||||
|
if [ -d $destdir ]; then
|
||||||
|
cd $destdir
|
||||||
|
git pull --rebase
|
||||||
|
else
|
||||||
|
cd $HOME/dev
|
||||||
|
git clone -q https://github.com/vim/vim.git vim
|
||||||
|
fi
|
||||||
|
cd $HOME/dev/vim
|
||||||
|
./configure --prefix=$HOME/local --enable-rubyinterp --enable-luainterp --enable-python3interp --with-features=huge --enable-multibyte --enable-gui=gtk2 --with-x
|
||||||
|
make -j6
|
||||||
|
make install
|
|
@ -0,0 +1 @@
|
||||||
|
installvim
|
Loading…
Reference in New Issue