Commit 759e381e13a982144b3e318834be7db77b765ef2
1 parent
72fae27c8c
Refactor variable name url -> line.
The contents of unused_clones is not a url anymore. Its more of a `url|branch` like string.
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
antigen.zsh
... | ... | @@ -251,9 +251,9 @@ antigen-cleanup () { |
251 | 251 | if read -q; then |
252 | 252 | echo |
253 | 253 | echo |
254 | - echo "$unused_clones" | while read url; do | |
255 | - echo -n "Deleting clone for $url..." | |
256 | - rm -rf "$(-antigen-get-clone-dir $url)" | |
254 | + echo "$unused_clones" | while read line; do | |
255 | + echo -n "Deleting clone for $line..." | |
256 | + rm -rf "$(-antigen-get-clone-dir $line)" | |
257 | 257 | echo ' done.' |
258 | 258 | done |
259 | 259 | else |