feat: Replace linuxbrew hook with Homebrew hook

master
parent dc626c4ed9
commit 632f8edf4d
Signed by: millironx
GPG Key ID: 09335146883990B9

@ -7,18 +7,10 @@ export PATH="$HOME/.julia/bin:$PATH"
export PATH="$HOME/.julia/juliaup/bin:$PATH" export PATH="$HOME/.julia/juliaup/bin:$PATH"
export PATH="$HOME/.juliaup/bin:$PATH" export PATH="$HOME/.juliaup/bin:$PATH"
# Linuxbrew setup {{ if eq .chezmoi.os "darwin" }}
if [ -d $HOME/../linuxbrew/.linuxbrew ]; then # Homebrew setup
BREWPATH=$HOME/../linuxbrew/.linuxbrew eval "$(/opt/homebrew/bin/brew shellenv)"
elif [ -d $HOME/.linuxbrew ]; then {{ end }}
BREWPATH=$HOME/.linuxbrew
fi
if [ -n "$BREWPATH" ]; then
eval "$($BREWPATH/bin/brew shellenv)"
export HOMEBREW_MAKE_JOBS=1
export HOMEBREW_NO_ANALYTICS=1
fi
if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then
. "$HOME/.nix-profile/etc/profile.d/nix.sh" . "$HOME/.nix-profile/etc/profile.d/nix.sh"
Loading…
Cancel
Save