Skip to content

Instantly share code, notes, and snippets.

@manchicken
Created August 9, 2021 14:01
Show Gist options
  • Save manchicken/08aa4f5652300fd1a1f224d2d74f589c to your computer and use it in GitHub Desktop.
Save manchicken/08aa4f5652300fd1a1f224d2d74f589c to your computer and use it in GitHub Desktop.
This is my script for updating all pathogen-installed VIM bundles:
#!/usr/bin/env bash
VIM_BUNDLE_PATH="$HOME/.vim/bundle"
cd "$VIM_BUNDLE_PATH"
for X in $(ls -1); do
cd "$X"
git reset --hard
git pull
cd -
done
echo "Vim bundle updates complete."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment