Skip to content

Instantly share code, notes, and snippets.

@Tiryoh
Last active November 7, 2018 11:46
Show Gist options
  • Save Tiryoh/93c1816f96340a9d38859aa6b7b9f10d to your computer and use it in GitHub Desktop.
Save Tiryoh/93c1816f96340a9d38859aa6b7b9f10d to your computer and use it in GitHub Desktop.
Vim8 local install script
#!/usr/bin/env bash
# This script installs Vim 8.x in to your ~/usr/local/bin
set -eu
mkdir -p ~/usr/local/bin
mkdir -p ~/usr/local/src
cd ~/usr/local/src
git clone https://github.com/vim/vim.git
cd vim
./configure --prefix=$HOME/usr/local --with-features=huge --enable-gui=auto --enable-gtk2-check --with-x --enable-multibyte --enable-gpm --enable-cscope --enable-fontset --enable-fail-if-missing
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment