brew ls with no further ARGV lists all installed kegs
This commit is contained in:
parent
b6ccdad53e
commit
88ad8b9af6
5
bin/brew
5
bin/brew
@ -45,7 +45,12 @@ begin
|
|||||||
end
|
end
|
||||||
|
|
||||||
when 'ls', 'list'
|
when 'ls', 'list'
|
||||||
|
if ARGV.named_empty?
|
||||||
|
ENV['CLICOLOR']=nil
|
||||||
|
exec 'ls', *ARGV.options<<HOMEBREW_CELLAR
|
||||||
|
else
|
||||||
exec "find", *ARGV.kegs+%w[-not -type d -print]
|
exec "find", *ARGV.kegs+%w[-not -type d -print]
|
||||||
|
end
|
||||||
|
|
||||||
when 'edit'
|
when 'edit'
|
||||||
if ARGV.named_empty?
|
if ARGV.named_empty?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user