Created
August 6, 2012 10:14
-
-
Save soramugi/3273194 to your computer and use it in GitHub Desktop.
新しめのvimを自分の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
#!/bin/bash | |
# スクリプト走らせる前にgccとかncurses-develとか入れといてくださいお願いします | |
mkdir -p $HOME/local/bin | |
mkdir -p $HOME/local/src | |
cd $HOME/local/src/ | |
wget ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2 | |
tar jxvf vim-7.3.tar.bz2 | |
cd vim73 | |
./configure \ | |
--enable-multibyte \ | |
--enable-xim \ | |
--enable-fontset \ | |
--with-features=big \ | |
--prefix=$HOME/local \ | |
--disable-selinux | |
make | |
sudo make install && echo "alias vim='$HOME/local/bin/vim'" >> $HOME/.bashrc | |
source $HOME/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment