From 7c351dd3fa858032ce77159c85fbcab2dd2f7a4f Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Date: Wed, 13 Mar 2013 22:06:02 +0530 Subject: [PATCH] Fix line filtering grep in `-bundles` command. --- antigen.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antigen.zsh b/antigen.zsh index 3296a3d..9d3152c 100644 --- a/antigen.zsh +++ b/antigen.zsh @@ -98,7 +98,7 @@ antigen-bundles () { local line - grep -v '^\s*$\|^#' | while read line; do + grep '^[[:space:]]*[^[:space:]#]' | 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