Fix vim on Mac

This commit is contained in:
Cyryl Płotnicki 2017-08-20 15:54:12 +02:00
parent 2a13b0ef23
commit f4a33c1862
2 changed files with 6 additions and 2 deletions

1
common/install_vim_from_sources.sh Normal file → Executable file
View file

@ -26,7 +26,6 @@ if [[ -z $NO_COMPILE_VIM ]]; then
--enable-multibyte \ --enable-multibyte \
--enable-rubyinterp \ --enable-rubyinterp \
--enable-python3interp=yes \ --enable-python3interp=yes \
--enable-pythoninterp=yes \
--enable-luainterp \ --enable-luainterp \
--enable-gui=no \ --enable-gui=no \
--enable-cscope --enable-cscope

View file

@ -20,7 +20,6 @@ brew install --force gnupg2
brew update brew update
brew upgrade brew upgrade
brew install vim
brew install aria2 brew install aria2
brew install \ brew install \
autojump \ autojump \
@ -86,7 +85,13 @@ fi
brew linkapps brew linkapps
brew cleanup brew cleanup
brew prune brew prune
set +e
mv "$HOME/.cargo/bin/cargo-install-update-config" "$HOME/.cargo/bin/cargo-install-update-cfg"
set -e
brew doctor brew doctor
set +e
mv "$HOME/.cargo/bin/cargo-install-update-cfg" "$HOME/.cargo/bin/cargo-install-update-config"
set -e
echo "Configuring NVRAM" echo "Configuring NVRAM"
sudo nvram SystemAudioVolume=%80 sudo nvram SystemAudioVolume=%80