Created
October 3, 2012 14:24
-
-
Save maciakl/3827188 to your computer and use it in GitHub Desktop.
Compiling Vim 7.3 from source with no root
This file contains hidden or 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
#!/bin/bash | |
mkdir ~/local | |
mkdir ~/build | |
export TARGET_DIR="$HOME/local" | |
cd ~/build | |
hg clone http://hg.debian.org/hg/pkg-vim/vim | |
cd vim | |
hg checkout unstable | |
./configure --with-features=huge --enable-cscope --enable-pythoninterp --enable-rubyinterp --enable-perlinterp --enable-multibyte --prefix="$TARGET_DIR" | |
make | |
make install | |
## in .bashrc | |
export PATH="$PATH:$HOME/local/bin" | |
alias vim="$HOME/local/bin/vim" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment