Closed VMatrix1900 closed 7 years ago
Now brew install will trigger brew update by default. It's controlled by env variable HOMEBREW_NO_AUTO_UPDATE. It will be a good idea that brew cu follow the same logic.
brew install
brew update
HOMEBREW_NO_AUTO_UPDATE
brew cu
I couldn't utilize HOMEBREW_NO_AUTO_UPDATE env because it's set to "1" before running brew cu.
See https://github.com/Homebrew/brew/blob/53038a14b37158bc32c7c54b16cb4e06333dd8c4/Library/Homebrew/brew.sh#L336.
Now
brew install
will triggerbrew update
by default. It's controlled by env variableHOMEBREW_NO_AUTO_UPDATE
. It will be a good idea thatbrew cu
follow the same logic.