aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <david.runge@holoplot.com>2020-03-03 10:20:53 +0100
committerDavid Runge <david.runge@holoplot.com>2020-03-03 10:20:53 +0100
commitb5eefb8fe474a501dd1396a68a02cb56e3dd865b (patch)
treec14149987714f1e1aaae42ea95aeb08363541245
parent75193faf8c19fec705bfe2ae738bd338fa727d2f (diff)
downloaddotfiles-b5eefb8fe474a501dd1396a68a02cb56e3dd865b.tar.gz
dotfiles-b5eefb8fe474a501dd1396a68a02cb56e3dd865b.tar.bz2
dotfiles-b5eefb8fe474a501dd1396a68a02cb56e3dd865b.tar.xz
dotfiles-b5eefb8fe474a501dd1396a68a02cb56e3dd865b.zip
.zsh.after/export.zsh: If brew is found in PATH, export a few environment variables for it.
-rw-r--r--.zsh.after/export.zsh7
1 files changed, 7 insertions, 0 deletions
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=""