From e7472835f0885b4b5b58ec8a6f3cfcc5c9ae6085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sat, 27 Jun 2026 23:06:56 +0200 Subject: [PATCH] .zshrc: added homebrew supported MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .zshrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 89eb187..8baad48 100644 --- a/.zshrc +++ b/.zshrc @@ -109,6 +109,11 @@ alias dt='LC_TIME=C /bin/date "+%Y%m%d%H%M%S"' # Alias and Export for Mac if [[ "$(uname)" == "Darwin" ]]; then + # Enabling a HOMEBREW in preview versions of MacOS + export HOMEBREW_DEVELOPER=1 + export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 + export HOMEBREW_CASK_OPTS="--appdir=~/Applications" + # Resolve problem with GOPATH # https://stackoverflow.com/questions/66284870/go-get-not-downloading-to-src-folder export GO111MODULE=on @@ -147,7 +152,7 @@ if [[ "$(uname)" == "Darwin" ]]; then alias date='gdate' alias lsblk="diskutil list" - alias Update="$HOME/.local/bin/Update-pkg; brew update; brew upgrade; brew upgrade --greedy; sudo softwareupdate -i -a -R" + alias Update="$HOME/.local/bin/Update-pkg; yes | brew update; yes | brew upgrade; yes | brew upgrade --greedy; yes | sudo softwareupdate -i -a -R" alias ls="ls -Gh" alias mpv="mpv --ytdl-raw-options="yes-playlist=" --no-resume-playback --ytdl-format='bestvideo+bestaudio/best'" alias code="open -a 'Visual Studio Code'"