Commit 575a537db98e50b027cb4bd6962e4b883887dfda
1 parent
a12d3140ac
Add a bundle-update command to update bundles.
This command replaces the old `bundle-install --update` functionality.
Showing 1 changed file with 7 additions and 0 deletions Side-by-side Diff
antigen.zsh
... | ... | @@ -93,6 +93,13 @@ bundle () { |
93 | 93 | |
94 | 94 | } |
95 | 95 | |
96 | +bundle-update () { | |
97 | + # Update your bundles, i.e., `git pull` in all the plugin repos. | |
98 | + -bundle-echo-record | awk '{print $1}' | sort -u | while read url; do | |
99 | + -antigen-ensure-repo --update "$url" | |
100 | + done | |
101 | +} | |
102 | + | |
96 | 103 | bundle-cleanup () { |
97 | 104 | |
98 | 105 | if [[ ! -d "$ADOTDIR/bundles" || \ |