diff options
| author | Max Howell | 2009-08-23 13:09:15 +0100 |
|---|---|---|
| committer | Max Howell | 2009-08-24 01:04:53 +0100 |
| commit | e3cd5d62c7a84391b4fefbc474c38e7b63b02c0b (patch) | |
| tree | d6a743aeff99ebcb6161e49045bd5c05fc8cb395 | |
| parent | 181adae94bf4e5e7e726e4efc7aaddc8ca0ab7d4 (diff) | |
| download | homebrew-e3cd5d62c7a84391b4fefbc474c38e7b63b02c0b.tar.bz2 | |
brew ls with no further ARGV lists all installed kegs
| -rwxr-xr-x | bin/brew | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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<<HOMEBREW_CELLAR + else + exec "find", *ARGV.kegs+%w[-not -type d -print] + end when 'edit' if ARGV.named_empty? |
