Move linuxbrew to profile
parent
3220e8c380
commit
fa30464c6f
@ -0,0 +1,13 @@
|
|||||||
|
# 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
|
@ -0,0 +1 @@
|
|||||||
|
source $HOME/.profile
|
@ -0,0 +1 @@
|
|||||||
|
source $HOME/.profile
|
Loading…
Reference in New Issue