diff options
| author | Kieran Pilkington | 2009-09-25 19:04:34 +1200 |
|---|---|---|
| committer | Max Howell | 2009-09-29 16:26:37 +0100 |
| commit | aedaaf79bf0751d80879cbdab434b3d445f989cb (patch) | |
| tree | 68a6d6ec1c13d684c8a5beade0c7c22b63c0e7a9 /bin | |
| parent | 14818039ae920d43e86e39cc9f9dd106ce0c8fb7 (diff) | |
| download | brew-aedaaf79bf0751d80879cbdab434b3d445f989cb.tar.bz2 | |
brew list --unbrewed
Very quick way to find files not installed by homebrew.
Taken from a command by mxcl on the homebrew wiki.
.DS_Store files and bin/brew are ignored.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -39,7 +39,9 @@ begin end when 'ls', 'list' - if ARGV.named_empty? + if ARGV.flag? '--unbrewed' + puts unbrewed_files + elsif ARGV.named_empty? ENV['CLICOLOR']=nil exec 'ls', *ARGV.options<<HOMEBREW_CELLAR elsif ARGV.verbose? or not $stdout.tty? |
