Commit Graph
2 Commits
Author SHA1 Message Date
Adam Vandenberg e719d94b48 Move Pathname.starts_with? into Pathname 2010-08-08 09:13:27 -07:00
Adam Vandenberg e028ce602a External command "brew which"
A work-in-progress command, "brew which" will show which versions of formulae
you have installed based on what symlinks exist from HOMEBREW_PREFIX back into
the Cellar.

Thus, if you happen to have symlinks into two different versions of a brew in
the Cellar (typically an error), both of those versions will be listed.

This is a diagnostic command, but some of this code will be the basis for
possible future better handling of multiple-versions-at-once.
2010-07-08 22:41:51 -07:00