Last active
December 20, 2015 11:48
-
-
Save partkyle/6125687 to your computer and use it in GitHub Desktop.
install vim from source to $HOME
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# requires mercurial | |
set -e | |
LOCAL=$HOME/local | |
BUILD=$HOME/build | |
if [ -z "$VERSION" ]; then | |
VERSION="v7-4-005" | |
fi | |
mkdir -p $BUILD | |
cd $BUILD | |
if [ ! -e vim ]; then | |
hg clone https://vim.googlecode.com/hg/ vim | |
fi | |
cd vim | |
hg pull | |
hg co $VERSION | |
./configure --with-features=huge --enable-pythoninterp --enable-rubyinterp --prefix=$LOCAL | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment