diff --git a/dot_zshenv b/dot_zshenv new file mode 100644 index 0000000..975f0d1 --- /dev/null +++ b/dot_zshenv @@ -0,0 +1,10 @@ +# 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 + export fpath+=($BREWPATH/share/zsh/site-functions) +fi