.zshrc: Opt out of Homebrew analytics

Tracking my usage in the command line?! Seriously!

See: https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Analytics.md
This commit is contained in:
Alan Orth 2016-04-25 22:38:31 +03:00
parent 9df4458bd4
commit 575e0a2bc5
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 4 additions and 0 deletions

4
.zshrc
View File

@ -26,6 +26,10 @@ if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then
PATH=/opt/brew/sbin:/opt/brew/bin:$PATH
MANPATH=/opt/brew/man:$MANPATH
# opt out of Homebrew analytics
# see: https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Analytics.md
export HOMEBREW_NO_ANALYTICS=1
# pass needs umount and diskutil, which are in /sbin and /usr/sbin
PATH=$PATH:/sbin:/usr/sbin