diff --git a/bin/brew b/bin/brew index b6147e0d151d85e592a2ba69854678666cde7539..b543e95972027e465008eeb7dc02dc68a2f636e5 100755 --- a/bin/brew +++ b/bin/brew @@ -47,7 +47,7 @@ begin if ARGV.named_empty? ENV['CLICOLOR']=nil exec 'ls', *ARGV.options<<HOMEBREW_CELLAR - elsif ARGV.verbose? + elsif ARGV.verbose? or not $stdout.tty? exec "find", *ARGV.kegs+%w[-not -type d -print] else ARGV.kegs.each { |keg| PrettyListing.new keg }