From f4a33c18627ffa72b07c4e963ff95deba00fd19d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 20 Aug 2017 15:54:12 +0200 Subject: [PATCH] Fix vim on Mac --- common/install_vim_from_sources.sh | 1 - macosx/configure_fresh_system.sh | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) mode change 100644 => 100755 common/install_vim_from_sources.sh diff --git a/common/install_vim_from_sources.sh b/common/install_vim_from_sources.sh old mode 100644 new mode 100755 index 77db4243..e229c746 --- a/common/install_vim_from_sources.sh +++ b/common/install_vim_from_sources.sh @@ -26,7 +26,6 @@ if [[ -z $NO_COMPILE_VIM ]]; then --enable-multibyte \ --enable-rubyinterp \ --enable-python3interp=yes \ - --enable-pythoninterp=yes \ --enable-luainterp \ --enable-gui=no \ --enable-cscope diff --git a/macosx/configure_fresh_system.sh b/macosx/configure_fresh_system.sh index 0ec2ed42..18e691c9 100755 --- a/macosx/configure_fresh_system.sh +++ b/macosx/configure_fresh_system.sh @@ -20,7 +20,6 @@ brew install --force gnupg2 brew update brew upgrade -brew install vim brew install aria2 brew install \ autojump \ @@ -86,7 +85,13 @@ fi brew linkapps brew cleanup brew prune +set +e +mv "$HOME/.cargo/bin/cargo-install-update-config" "$HOME/.cargo/bin/cargo-install-update-cfg" +set -e brew doctor +set +e +mv "$HOME/.cargo/bin/cargo-install-update-cfg" "$HOME/.cargo/bin/cargo-install-update-config" +set -e echo "Configuring NVRAM" sudo nvram SystemAudioVolume=%80