From 88ad8b9af6f2e7bd4dd187ac64f615ecdd57443e Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sun, 23 Aug 2009 13:09:15 +0100 Subject: [PATCH] brew ls with no further ARGV lists all installed kegs --- bin/brew | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/brew b/bin/brew index 47215866c6..813cb41a71 100755 --- a/bin/brew +++ b/bin/brew @@ -45,7 +45,12 @@ begin end when 'ls', 'list' - exec "find", *ARGV.kegs+%w[-not -type d -print] + if ARGV.named_empty? + ENV['CLICOLOR']=nil + exec 'ls', *ARGV.options<