From 3a6a22ddb42b783925edf378304226108c9a6594 Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Thu, 5 Nov 2020 21:12:24 +0300 Subject: [PATCH] bash: add homebrew's security settings --- etc/shell/bash/bashrc_macos | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/shell/bash/bashrc_macos b/etc/shell/bash/bashrc_macos index b7e5a89..c74e28f 100644 --- a/etc/shell/bash/bashrc_macos +++ b/etc/shell/bash/bashrc_macos @@ -1,5 +1,10 @@ PATH="$SHELLRC/bin:$SHELLRC/bin/scripts:$HOME/.rbenv/shims:/usr/local/opt/coreutils/libexec/gnubin/:/Applications/:~/go/bin/:~/Library/Python/3.7/bin/:$HOME/.cabal/bin:${GHCUP_INSTALL_BASE_PREFIX:=$HOME}/.ghcup/bin:$PATH:~/.cargo/bin" +# Homebrew settings +export HOMEBREW_NO_ANALYTICS=1 +export HOMEBREW_NO_INSECURE_REDIRECT=1 +export HOMEBREW_CASK_OPTS="--require-sha" + test -e "${HOME}/.iterm2_shell_integration.bash" && source "${HOME}/.iterm2_shell_integration.bash" [[ -f $BASHRC/aliases_macos ]] && MACOS_ALIASES="$BASHRC/aliases_macos" \