From 759e381e13a982144b3e318834be7db77b765ef2 Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Date: Tue, 17 Jul 2012 18:50:32 +0530 Subject: [PATCH] Refactor variable name url -> line. The contents of unused_clones is not a url anymore. Its more of a `url|branch` like string. --- antigen.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/antigen.zsh b/antigen.zsh index 02742f0..b91dddc 100644 --- a/antigen.zsh +++ b/antigen.zsh @@ -251,9 +251,9 @@ antigen-cleanup () { if read -q; then echo echo - echo "$unused_clones" | while read url; do - echo -n "Deleting clone for $url..." - rm -rf "$(-antigen-get-clone-dir $url)" + echo "$unused_clones" | while read line; do + echo -n "Deleting clone for $line..." + rm -rf "$(-antigen-get-clone-dir $line)" echo ' done.' done else -- 2.0.0