From 2e6d0c4163963af391b33946aa967b6e08c47fa4 Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Date: Wed, 13 Jun 2012 17:40:14 +0530 Subject: [PATCH] Fix #5. Ignore spaces in lines given to `-bundles`. When the input to `antigen-bundles` contains lines that are completely made up of white space, the command fails to ignore that line. This is now fixed. --- antigen.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antigen.zsh b/antigen.zsh index ff09da8..2672c44 100644 --- a/antigen.zsh +++ b/antigen.zsh @@ -63,7 +63,7 @@ antigen-bundles () { local line - grep -v '^$\|^#' | while read line; do + grep -v '^\s*$\|^#' | while read line; do # Using `eval` so that we can use the shell-style quoting in each line # piped to `antigen-bundles`. eval "antigen-bundle $line" -- 2.0.0