1
0
Fork 0
mirror of https://github.com/MillironX/dotfiles.git synced 2024-11-21 21:26:04 +00:00
dotfiles/dot_profile
Thomas A. Christensen II d508b92efd
Make profile POSIX compliant
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2021-10-20 07:24:24 -05:00

18 lines
473 B
Text

# shellcheck shell=sh
# User specific environment
if ! [ "$(expr "$PATH" : "$HOME/.local/bin:$HOME/bin:")" ];then
export PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
# 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