Mike McQuaid 6e20cedb67
Don't filter the environment for brew bundle (exec|env|sh)
It's both unexpected and undesirable for `brew bundle (exec|env|sh)` to
filter the environment and makes these tools less useful.

Not filtering the environment, though, causes issues with the
`brew bundle sh` shell. Fix this up and, while we're here, also improve
the formatting for both `zsh` and `bash` (the default) to use nicer and
more consistent prompts and colours.

To simplify this, consolidate some logic in a new
`Utils::Shell.shell_with_prompt` method and add tests for it and a
similar notice for `brew bundle sh`.

Finally, avoid printing out the notice when `HOMEBREW_NO_ENV_HINTS` is
set.
2025-03-24 13:37:25 +00:00
..
2025-02-06 21:04:08 -08:00
2025-03-20 18:07:30 +00:00
2025-01-19 12:32:55 +01:00
2025-03-21 15:49:22 +00:00
2025-03-23 22:22:20 +00:00
2025-01-16 15:12:03 -08:00
2025-02-06 21:04:08 -08:00
2025-02-04 16:27:39 +00:00
2025-01-27 08:42:49 +00:00
2025-02-17 18:56:31 -08:00
2025-03-13 12:16:11 -07:00
2025-02-17 18:56:31 -08:00
2025-03-02 21:36:03 -08:00
2025-02-16 13:26:10 -08:00
2025-02-21 14:53:34 +01:00
2025-03-16 21:41:19 +01:00
2025-02-06 21:04:08 -08:00
2025-03-23 22:22:20 +00:00
2025-02-17 18:56:31 -08:00
2025-02-04 16:27:39 +00:00
2025-03-21 15:49:22 +00:00
2025-02-04 21:18:02 +01:00
2025-02-04 16:27:39 +00:00
2025-03-02 21:36:03 -08:00
2025-03-02 21:36:03 -08:00
2025-03-02 21:36:03 -08:00
2025-02-06 21:04:08 -08:00
2025-02-24 11:57:20 -08:00
2025-02-17 19:11:48 -08:00

Homebrew Ruby API

This is the API for Homebrew.

The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.

You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.

Good luck!