mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

Let's avoid having `exec` and `env`/`sh` subcommands have different environment variables logic. Instead, let's e.g. add `HOMEBREW_PATH` and remove `*/Homebrew/shims/*` from the `PATH` for all three subcommands. This allows more consistency for users and easier to debug and reason about behaviour.
Library
This directory contains all the code run by the official brew
command in Homebrew
and all formulae (package descriptions) in taps (repositories containing formulae) in Taps
subdirectories.