diff options
| -rwxr-xr-x | bin/brew | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -133,7 +133,8 @@ begin if ARGV.first =~ /^\/(.*)\/$/ puts_columns formulae.grep(Regexp.new($1)) else - puts_columns formulae.grep(/.*#{ARGV.first}.*/) + search_term = Regexp.escape(ARGV.first) + puts_columns formulae.grep(/.*#{search_term}.*/) end when 'edit' |
