Mike McQuaid ca47b47f77
Speedup brew --prefix <formula>
This case is _really_ slow even although it's something we encourage
people to run often and build systems often do. The `brew --prefix`
case is really fast because it's just in Bash so: let's pull the
`brew --prefix <formula>` case into Bash too.

This doesn't handle any edge-cases like `--installed` and the formula
detection is pretty simple.

Also, to make this behaviour consistent, never output `Cellar` paths
from the (Ruby) `brew --prefix`; we never want people relying on the
Cellar paths anyway, only output them if the formula wasn't installed
(where, arguably, using a Cellar path is even worse) and the speedup is
worth this deviation in behaviour.
2021-02-25 17:07:28 +00:00
..
2021-01-27 14:54:39 +11:00
2021-02-25 17:07:28 +00:00
2021-01-25 13:46:35 -05:00
2021-01-08 18:10:25 +08:00
2021-01-26 15:36:44 -05:00
2021-01-26 15:36:43 -05:00
2021-01-26 16:19:47 -05:00
2021-01-08 18:10:25 +08:00
2020-10-10 14:59:39 +02:00
2021-01-26 15:36:44 -05:00
2021-01-26 16:19:47 -05:00
2021-01-29 19:50:24 +00:00
2021-01-26 16:19:47 -05:00
2021-01-18 11:20:11 -07:00
2021-02-04 18:36:32 +01:00
2021-01-28 09:10:14 -05:00
2021-01-25 13:46:51 -05:00