function vundle-init () {
if [ ! -d ~/.vim/bundle/vundle/ ]
then
mkdir -p ~/.vim/bundle/vundle/
fi
if [ ! -d ~/.vim/bundle/vundle/.git/ ]
git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
}
function vundle () {
vundle-init
vim -c "execute \"BundleInstall\" | q"
function vundle-update () {
vim -c "execute \"BundleInstall!\" | q"