Updates when moving spiderweb WSL to spider WSL.

This commit is contained in:
2025-01-21 14:11:09 -08:00
parent 436baf3241
commit bd99935f03
10 changed files with 116 additions and 113 deletions

View File

@@ -0,0 +1,17 @@
# If both intel and arm versions are installed the arm version will be the default brew, but aliases will be available to run either specifically.
# If intel Homebrew is installed activate it.
if [ -x "/usr/local/homebrew/bin/brew" ]; then
eval "$(/usr/local/homebrew/bin/brew shellenv)"
# If arm Homebrew is also installed create aliases for each version
if [ -x "/opt/homebrew/bin/brew" ]; then
alias brew86='arch -x86_64 /usr/local/homebrew/bin/brew'
alias brewarm='arch -arm64 /opt/homebrew/bin/brew'
fi
fi
# If arm Homebrew is installed activate it.
if [ -x "/opt/homebrew/bin/brew" ]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
fi