Created
August 9, 2021 14:01
-
-
Save manchicken/08aa4f5652300fd1a1f224d2d74f589c to your computer and use it in GitHub Desktop.
This is my script for updating all pathogen-installed VIM bundles:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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