Commit 7c351dd3fa858032ce77159c85fbcab2dd2f7a4f
1 parent
a9ebdcdbec
Fix line filtering grep in `-bundles` command.
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
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" |