zshrc: chore: Move Homebrew from .zprofile to .zshrc

This commit is contained in:
PorridgePi
2022-09-27 22:20:02 +08:00
parent 9d09058bfb
commit 20af09318e
2 changed files with 3 additions and 2 deletions

View File

@@ -1,2 +0,0 @@
eval "$(/opt/homebrew/bin/brew shellenv)"
export THEOS=~/theos

3
.zshrc
View File

@@ -77,6 +77,9 @@ elif [[ "$OSTYPE" == "darwin"* ]]; then
### Aliases ### Aliases
# Intel (Rosetta 2) Homebrew # Intel (Rosetta 2) Homebrew
alias ibrew='arch -x86_64 /usr/local/bin/brew' alias ibrew='arch -x86_64 /usr/local/bin/brew'
# Homebrew
eval "$(/opt/homebrew/bin/brew shellenv)"
else else
##### Unknown ##### Unknown