#!/bin/sh

# Detect .vimrc path.
VIMRC=$HOME/.vimrc

if [ ! -e $VIMRC ]; then
        VIMRC=$HOME/.vim/vimrc
fi

vim -N -u $VIMRC -c "try | NeoBundleUpdate! $* | finally | qall! | endtry" \
        -U NONE -i NONE -V1 -e -s
echo ''
