Tests: add support for NeoBundle numbness

Closes #122.
This commit is contained in:
Daniel Hahler 2014-11-22 09:37:36 +01:00 committed by Marco Hinz
parent 339cdae1af
commit c93e90f371

View file

@ -1,6 +1,11 @@
#!/usr/bin/env bash
vader="${HOME}/.vim/*bundle*/vader.vim"
# Look for existing vader installation.
vader=( ${HOME}/.vim/*bundle*/vader*/plugin/vader.vim )
if [ -f ${vader[0]} ]; then
# Remove "plugin/vader.vim" suffix.
vader=${vader[0]%/*/*}
fi
if [ -d $vader ]; then
[[ ! -L vader.vim ]] && ln -s $vader