Skip to content
This repository
Browse code

Fix line filtering grep in `-bundles` command.

  • Loading branch information...
commit 7c351dd3fa858032ce77159c85fbcab2dd2f7a4f 1 parent a9ebdcd
Shrikant Sharat authored March 13, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  antigen.zsh
2  antigen.zsh
@@ -98,7 +98,7 @@ antigen-bundles () {
98 98
 
99 99
     local line
100 100
 
101  
-    grep -v '^\s*$\|^#' | while read line; do
  101
+    grep '^[[:space:]]*[^[:space:]#]' | while read line; do
102 102
         # Using `eval` so that we can use the shell-style quoting in each line
103 103
         # piped to `antigen-bundles`.
104 104
         eval "antigen-bundle $line"

0 notes on commit 7c351dd

Please sign in to comment.
Something went wrong with that request. Please try again.