Created
May 5, 2017 10:04
-
-
Save ecerulm/43251c4363d23689d05dec46152d7636 to your computer and use it in GitHub Desktop.
script to build vim
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
#!/bin/bash | |
set -euxo pipefail | |
# e : fail as soon as a command fails, don't continue | |
# u : fail if nonexisting variable can't be expanded | |
# x : echo each line as it's executed | |
# -o pipefail: fail if a command in a pipe returns status != 0 | |
make distclean | |
./configure \ | |
--prefix=$HOME/.local/ \ | |
--with-features=huge \ | |
--enable-multibyte \ | |
--enable-rubyinterp \ | |
--enable-pythoninterp \ | |
--enable-luainterp \ | |
--enable-gui=auto \ | |
--with-x | |
--enable-rubyinterp | |
make | |
make install prefix=$HOME/.local/stow/vim | |
vim —version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment