1
0
Fork 0
mirror of https://github.com/MillironX/dotfiles.git synced 2024-11-15 03:13:10 +00:00
dotfiles/dot_profile

16 lines
383 B
Text

# User specific environment
if ! [[ "$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)"
fi