From c17d243a69c4cc0f1d8f52837982c342eba9e5e6 Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Date: Fri, 8 Jun 2012 18:06:27 +0530 Subject: [PATCH] Removed unused load argumet to bundle command. --- antigen.zsh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/antigen.zsh b/antigen.zsh index 5e916a1..701a26d 100644 --- a/antigen.zsh +++ b/antigen.zsh @@ -15,7 +15,6 @@ bundle () { local url="$ANTIGEN_DEFAULT_REPO_URL" local loc=/ local btype=plugin - local load=true # Set spec values based on the positional arguments. local position_args='url loc' @@ -56,10 +55,7 @@ bundle () { # Add it to the record. _ANTIGEN_BUNDLE_RECORD="$_ANTIGEN_BUNDLE_RECORD\n$url $loc $clone_dir $btype" - # Load it, unless specified otherwise. - if $load; then - bundle-load "$clone_dir/$loc" "$btype" - fi + bundle-load "$clone_dir/$loc" "$btype" } bundle-install () { -- 2.0.0