You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dotfiles/dot_profile

14 lines
338 B
Plaintext

# 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
if [[ "$SHELL" =~ "zsh" ]]; then
export fpath+=($BREWPATH/share/zsh/site-functions)
fi
eval "$($BREWPATH/bin/brew shellenv)"
fi