Skip to content

Commit

Permalink
Fixed color scheme error
Browse files Browse the repository at this point in the history
For the freshly installed vim color schema is not installed, resulting in the following error:
E185: Cannot find color scheme 'wombat256mod'
  • Loading branch information
c0rdis committed May 6, 2016
1 parent 5b5cc89 commit c0ac88d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit c0ac88d

Please sign in to comment.