Updates when moving spiderweb WSL to spider WSL.
This commit is contained in:
17
.rc.d/homebrew.sh.disabled
Normal file
17
.rc.d/homebrew.sh.disabled
Normal 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
|
||||
Reference in New Issue
Block a user