environment/bin/zshrc/brew

9 lines
229 B
Text
Raw Normal View History

2025-08-01 12:52:57 +02:00
if [[ "$OSTYPE" == "darwin"* ]]; then
ARCH=$(uname -m)
if [[ "$ARCH" == "arm64" ]]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
elif [[ "$ARCH" == "x86_64" ]]; then
eval "$(/usr/local/bin/brew shellenv)"
fi
fi