From c0ac88df8a3afb21fbcb31f0f51da1a9869c1722 Mon Sep 17 00:00:00 2001 From: Alexander Antukh Date: Fri, 6 May 2016 22:38:26 +0200 Subject: [PATCH] Fixed color scheme error For the freshly installed vim color schema is not installed, resulting in the following error: E185: Cannot find color scheme 'wombat256mod' --- setup.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/setup.sh b/setup.sh index 511dd9b..16e5e52 100644 --- a/setup.sh +++ b/setup.sh @@ -70,6 +70,15 @@ echo "${NORMAL}" printf "${BLUE}%s${NORMAL}\n" "Installing Vundle..." env git clone --depth=1 https://github.com/VundleVim/Vundle.vim.git "$VIM/bundle/Vundle.vim" fi + + if [ ! -f $VIM/colors/wombat256mod.vim ] + then + if [ ! -d $VIM/colors/ ] + then + mkdir -p $VIM/colors + fi + wget 'http://www.vim.org/scripts/download_script.php?src_id=13400' -O $VIM/colors/wombat256mod.vim + fi printf "${GREEN}%s${NORMAL}\n" "Vimrc has been configured ;)" printf "${YELLOW}%s${NORMAL}\n" "Do not worry about error messages. When it occurs just press enter and wait till all plugins are installed."