feat(bash): disable Homebrew auto update and analytics
This commit is contained in:
parent
6b4f2ecf85
commit
2c3b574467
1 changed files with 5 additions and 1 deletions
|
@ -21,7 +21,11 @@ export LESS="-i -j.49 -M -R -z-2"
|
|||
export LESSHISTFILE="$XDG_CACHE_HOME/less/history"
|
||||
export LESSHISTSIZE=1000
|
||||
export LOCAL_PREFIX="/usr/local"
|
||||
command -v brew &>/dev/null && LOCAL_PREFIX="$(brew --prefix)"
|
||||
if command -v brew &>/dev/null; then
|
||||
LOCAL_PREFIX="$(brew --prefix)"
|
||||
export HOMEBREW_NO_ANALYTICS=1
|
||||
export HOMEBREW_NO_AUTO_UPDATE=1
|
||||
fi
|
||||
MANPATH="$(unset MANPATH; manpath)"
|
||||
export MANPATH
|
||||
export PAGER=less
|
||||
|
|
Loading…
Add table
Reference in a new issue