check for brew

This commit is contained in:
2023-02-23 20:03:23 +01:00
parent fe64e69066
commit 326af16307
2 changed files with 4 additions and 2 deletions

View File

@@ -2,7 +2,9 @@ set -g fish_user_paths "/usr/local/sbin" $fish_user_paths
set -x PIPENV_VENV_IN_PROJECT true
eval "$(/opt/homebrew/bin/brew shellenv)"
if [ -x /opt/homebrew/bin/brew ]
eval "$(/opt/homebrew/bin/brew shellenv)"
end
export GOPATH="$HOME/.go"
if type -q brew