view hooks/post-up @ 59:db3720a03952

Fix vimwiki setup
author zegervdv <zegervdv@me.com>
date Tue, 27 May 2014 12:20:09 +0200
parents 36a9b3a28861
children 152b34da1f13
line wrap: on
line source

#!/bin/sh

if [ ! -e $HOME/.vim ]; then
  ln -s $HOME/.dotfiles/vim $HOME/.vim
fi

if [ ! -e $HOME/.vimwiki ]; then
  ln -s $HOME/.dotfiles/vimwiki $HOME/.vimwiki
fi

# Update plugins
cd $HOME/.dotfiles
git submodule init
git submodule update