From 575a537db98e50b027cb4bd6962e4b883887dfda Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Date: Fri, 8 Jun 2012 18:38:50 +0530 Subject: [PATCH] Add a bundle-update command to update bundles. This command replaces the old `bundle-install --update` functionality. --- antigen.zsh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/antigen.zsh b/antigen.zsh index 125f58f..21848e3 100644 --- a/antigen.zsh +++ b/antigen.zsh @@ -93,6 +93,13 @@ bundle () { } +bundle-update () { + # Update your bundles, i.e., `git pull` in all the plugin repos. + -bundle-echo-record | awk '{print $1}' | sort -u | while read url; do + -antigen-ensure-repo --update "$url" + done +} + bundle-cleanup () { if [[ ! -d "$ADOTDIR/bundles" || \ -- 2.0.0