From c7b604414cee60aa80889af9ad1a2bddc8cf0281 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Tue, 12 Sep 2023 17:23:13 +0900 Subject: [PATCH] feat: update osx arm zprofile --- .zprofile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.zprofile b/.zprofile index d921439..3be5be2 100644 --- a/.zprofile +++ b/.zprofile @@ -2,3 +2,11 @@ export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init --path)" + +if [[ $(uname -m) == 'arm64' ]]; then + # Set PATH, MANPATH, etc., for Homebrew. + eval "$(/opt/homebrew/bin/brew shellenv)" + + # Added by OrbStack: command-line tools and integration + source ~/.orbstack/shell/init.zsh 2>/dev/null || : +fi