1
0
Fork 0
mirror of https://github.com/MillironX/dotfiles.git synced 2024-12-03 09:49:55 +00:00

feat: Replace linuxbrew hook with Homebrew hook

This commit is contained in:
Thomas A. Christensen II 2023-10-06 11:07:36 -05:00
parent dc626c4ed9
commit 632f8edf4d
Signed by: millironx
GPG key ID: 09335146883990B9

View file

@ -7,18 +7,10 @@ export PATH="$HOME/.julia/bin:$PATH"
export PATH="$HOME/.julia/juliaup/bin:$PATH"
export PATH="$HOME/.juliaup/bin:$PATH"
# Linuxbrew setup
if [ -d $HOME/../linuxbrew/.linuxbrew ]; then
BREWPATH=$HOME/../linuxbrew/.linuxbrew
elif [ -d $HOME/.linuxbrew ]; then
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 eq .chezmoi.os "darwin" }}
# Homebrew setup
eval "$(/opt/homebrew/bin/brew shellenv)"
{{ end }}
if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then
. "$HOME/.nix-profile/etc/profile.d/nix.sh"