mirror of
https://github.com/MillironX/dotfiles.git
synced 2024-12-21 00:38:17 +00:00
14 lines
338 B
Text
14 lines
338 B
Text
|
# 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
|