From 412e05e9befb485370eef8ac1c6ca3b90391bb85 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Thu, 26 Aug 2021 07:52:09 -0500 Subject: [PATCH] Add dot_zshenv --- dot_zshenv | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 dot_zshenv 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