2021-10-20 12:24:24 +00:00
|
|
|
# shellcheck shell=sh
|
2021-08-25 01:18:31 +00:00
|
|
|
# User specific environment
|
2021-10-20 12:24:24 +00:00
|
|
|
if ! [ "$(expr "$PATH" : "$HOME/.local/bin:$HOME/bin:")" ];then
|
|
|
|
export PATH="$HOME/.local/bin:$HOME/bin:$PATH"
|
2021-08-25 01:18:31 +00:00
|
|
|
fi
|
|
|
|
|
2021-08-25 01:16:48 +00:00
|
|
|
# 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)"
|
2021-10-12 21:30:54 +00:00
|
|
|
export HOMEBREW_MAKE_JOBS=1
|
|
|
|
export HOMEBREW_NO_ANALYTICS=1
|
2021-08-25 01:16:48 +00:00
|
|
|
fi
|