Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chxuan authored Jul 5, 2016
1 parent 470c1ab commit c7ad24b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ then
libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev ruby-dev
sudo apt-get remove -y vim vim-runtime gvim
sudo apt-get remove -y vim-tiny vim-common vim-gui-common
cd ~
rm -rf vim
git clone https://github.com/vim/vim.git

rm -rf ~/vim
rm -rf /usr/share/vim/vim74
git clone https://github.com/vim/vim.git ~/vim
cd vim
./configure --with-features=huge \
--enable-multibyte \
Expand All @@ -26,8 +27,8 @@ then
--enable-gui=gtk2 --enable-cscope --prefix=/usr
make VIMRUNTIMEDIR=/usr/share/vim/vim74
sudo make install
cd ~
rm -rf vim
cd -
rm -rf ~/vim
else
sudo apt-get install -y vim
fi
Expand Down

0 comments on commit c7ad24b

Please sign in to comment.