Skip to content

Instantly share code, notes, and snippets.

@jeffsharpe
Created October 8, 2014 04:03
Show Gist options
  • Save jeffsharpe/1b52dd8dc2eb9d6f593a to your computer and use it in GitHub Desktop.
Save jeffsharpe/1b52dd8dc2eb9d6f593a to your computer and use it in GitHub Desktop.
update-service-vim.sh
#!/usr/bin/env bash
mkdir -p ~/.dotfiles/vim
cd $HOME/.dotfiles/vim
# if this was the first time ran, you will probably need vundle installed
if [ ! -d "$HOME/.dotfiles/vim/bundle" ]; then
mkdir -p ~/.dotfiles/vim/bundle
git clone https://github.com/gmarik/vundle.git ~/.dotfiles/vim/bundle/vundle
fi
# Update the Bundles
vim +BundleInstall +qall
vim +BundleClean +qall
echo $0: Finished processing!
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment