mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 09:46:42 +00:00
feat(homebrew): load/setup homebrew on Apple Silicon machines
This commit is contained in:
5
zshenv
5
zshenv
@@ -121,6 +121,11 @@ fi
|
|||||||
# Third-party Environment Setup
|
# Third-party Environment Setup
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
|
# Homebrew on Apple Silicon
|
||||||
|
if [ -f "/opt/homebrew/bin/brew" ]; then
|
||||||
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||||
|
fi
|
||||||
|
|
||||||
# Linuxbrew
|
# Linuxbrew
|
||||||
if [ -f "/home/linuxbrew/.linuxbrew/bin/brew" ]; then
|
if [ -f "/home/linuxbrew/.linuxbrew/bin/brew" ]; then
|
||||||
# Inline linux-brew setup to improve shell startup speed by around 200ms.
|
# Inline linux-brew setup to improve shell startup speed by around 200ms.
|
||||||
|
|||||||
Reference in New Issue
Block a user