From b5eefb8fe474a501dd1396a68a02cb56e3dd865b Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 3 Mar 2020 10:20:53 +0100 Subject: .zsh.after/export.zsh: If brew is found in PATH, export a few environment variables for it. --- .zsh.after/export.zsh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.zsh.after/export.zsh b/.zsh.after/export.zsh index 7ecaa85..db2b22d 100644 --- a/.zsh.after/export.zsh +++ b/.zsh.after/export.zsh @@ -67,6 +67,13 @@ export PIPENV_HIDE_EMOJIS="true" export PIPENV_VENV_IN_PROJECT="true" #export PIPENV_CACHE_DIR="$HOME/.cache/pipenv" +# brew +if command -v brew > /dev/null; then + export HOMEBREW_NO_ANALYTICS="true" + export HOMEBREW_NO_AUTO_UPDATE="true" + export HOMEBREW_NO_EMOJI="true" +fi + # GnuPG export GPG_TTY=$TTY export GPG_AGENT_INFO="" -- cgit v1.2.3-70-g09d2