Skip to content
Snippets Groups Projects
Commit 235987b0 authored by Max Howell's avatar Max Howell
Browse files

Don't summarize brew list if piped to another command

parent d2943b95
No related branches found
No related tags found
No related merge requests found
......@@ -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 }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment