More verbostiy and sensitivity to errors in the installation scripts
This commit is contained in:
parent
b3d461fe1f
commit
8790efe856
3 changed files with 15 additions and 1 deletions
|
@ -9,7 +9,11 @@ set t_Co=256
|
||||||
syntax enable
|
syntax enable
|
||||||
set background=dark
|
set background=dark
|
||||||
highlight clear SignColumn
|
highlight clear SignColumn
|
||||||
|
try
|
||||||
colorscheme solarized
|
colorscheme solarized
|
||||||
|
catch /^Vim\%((\a\+)\)\=:E185/
|
||||||
|
colorscheme desert
|
||||||
|
endtry
|
||||||
|
|
||||||
" plugins: airline
|
" plugins: airline
|
||||||
let g:bufferline_echo = 0
|
let g:bufferline_echo = 0
|
||||||
|
|
|
@ -118,9 +118,13 @@ if [[ -z $NOVIM ]]; then
|
||||||
git pull
|
git pull
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
fi
|
fi
|
||||||
|
echo "Installing fzf"
|
||||||
~/.fzf/install --64 --all
|
~/.fzf/install --64 --all
|
||||||
|
echo "Installing Vim plugins"
|
||||||
echo "\n" | vim +PluginInstall +qa
|
echo "\n" | vim +PluginInstall +qa
|
||||||
|
|
||||||
if [[ -z $NOYCM ]]; then
|
if [[ -z $NOYCM ]]; then
|
||||||
|
"Echo configuring YouCompleteMe"
|
||||||
cd ~/.vim/bundle/YouCompleteMe
|
cd ~/.vim/bundle/YouCompleteMe
|
||||||
|
|
||||||
if [[ -z $NOPYTHON3 ]]; then
|
if [[ -z $NOPYTHON3 ]]; then
|
||||||
|
@ -139,8 +143,10 @@ if [[ -z $NO_GO ]]; then
|
||||||
go get -u github.com/exercism/cli/exercism
|
go get -u github.com/exercism/cli/exercism
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Installing Reveal-md"
|
||||||
# talks: reveal-md
|
# talks: reveal-md
|
||||||
$SUDO npm install -g reveal-md
|
$SUDO npm install -g reveal-md
|
||||||
|
echo "Installing fancy differ"
|
||||||
$SUDO npm install -g diff-so-fancy
|
$SUDO npm install -g diff-so-fancy
|
||||||
|
|
||||||
if [[ -z $NOPYTHON3 ]]; then
|
if [[ -z $NOPYTHON3 ]]; then
|
||||||
|
@ -149,6 +155,7 @@ else
|
||||||
PIP=pip
|
PIP=pip
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Installing Nikola"
|
||||||
$SUDO $PIP install pygments-style-solarized ws4py watchdog webassets Nikola
|
$SUDO $PIP install pygments-style-solarized ws4py watchdog webassets Nikola
|
||||||
|
|
||||||
if [[ -z $USER ]]; then
|
if [[ -z $USER ]]; then
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
DOTFILES_PATH="$HOME/dev/dotfiles"
|
DOTFILES_PATH="$HOME/dev/dotfiles"
|
||||||
mkdir -pv $HOME/dev/
|
mkdir -pv $HOME/dev/
|
||||||
rm -fr $DOTFILES_PATH
|
rm -fr $DOTFILES_PATH
|
||||||
|
@ -26,5 +28,6 @@ ln -vfs $DIR/.gitconfig.cygwin $HOME/.gitconfig
|
||||||
ln -vfs $DIR/.vimrc.cygwin $HOME/.vimrc
|
ln -vfs $DIR/.vimrc.cygwin $HOME/.vimrc
|
||||||
|
|
||||||
# reinstall plugins with the new vimrc
|
# reinstall plugins with the new vimrc
|
||||||
|
echo "Reinstalling Vim plugins with the correct plugin list"
|
||||||
echo "\n" | vim +PluginInstall +qa
|
echo "\n" | vim +PluginInstall +qa
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue