check for brew

This commit is contained in:
cupcakearmy 2023-02-23 20:03:23 +01:00
parent fe64e69066
commit 326af16307
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
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

View File

@ -36,7 +36,7 @@ if [[ $platform == "Darwin" ]]; then
if uninstalled brew; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
brew bundle --no-lockfile --file ./files/Brewfile
brew bundle --no-lock --file ./files/Brewfile
# iTerm2
defaults write com.googlecode.iterm2.plist PrefsCustomFolder -string "~/.dotfiles/files/iterm2"