Skip to content

Instantly share code, notes, and snippets.

@ecerulm
Created May 5, 2017 10:04
Show Gist options
  • Save ecerulm/43251c4363d23689d05dec46152d7636 to your computer and use it in GitHub Desktop.
Save ecerulm/43251c4363d23689d05dec46152d7636 to your computer and use it in GitHub Desktop.
script to build vim
#!/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