More verbostiy and sensitivity to errors in the installation scripts

This commit is contained in:
Cyryl Plotnicki 2016-11-01 14:22:07 +01:00
parent b3d461fe1f
commit 8790efe856
3 changed files with 15 additions and 1 deletions

View file

@ -9,7 +9,11 @@ set t_Co=256
syntax enable
set background=dark
highlight clear SignColumn
try
colorscheme solarized
catch /^Vim\%((\a\+)\)\=:E185/
colorscheme desert
endtry
" plugins: airline
let g:bufferline_echo = 0

View file

@ -118,9 +118,13 @@ if [[ -z $NOVIM ]]; then
git pull
git submodule update --init --recursive
fi
echo "Installing fzf"
~/.fzf/install --64 --all
echo "Installing Vim plugins"
echo "\n" | vim +PluginInstall +qa
if [[ -z $NOYCM ]]; then
"Echo configuring YouCompleteMe"
cd ~/.vim/bundle/YouCompleteMe
if [[ -z $NOPYTHON3 ]]; then
@ -139,8 +143,10 @@ if [[ -z $NO_GO ]]; then
go get -u github.com/exercism/cli/exercism
fi
echo "Installing Reveal-md"
# talks: reveal-md
$SUDO npm install -g reveal-md
echo "Installing fancy differ"
$SUDO npm install -g diff-so-fancy
if [[ -z $NOPYTHON3 ]]; then
@ -149,6 +155,7 @@ else
PIP=pip
fi
echo "Installing Nikola"
$SUDO $PIP install pygments-style-solarized ws4py watchdog webassets Nikola
if [[ -z $USER ]]; then

View file

@ -1,5 +1,7 @@
#!/bin/bash
set -e
DOTFILES_PATH="$HOME/dev/dotfiles"
mkdir -pv $HOME/dev/
rm -fr $DOTFILES_PATH
@ -26,5 +28,6 @@ ln -vfs $DIR/.gitconfig.cygwin $HOME/.gitconfig
ln -vfs $DIR/.vimrc.cygwin $HOME/.vimrc
# reinstall plugins with the new vimrc
echo "Reinstalling Vim plugins with the correct plugin list"
echo "\n" | vim +PluginInstall +qa