From 7fd1eb3033411d053df6f19c5acba773f29a61d7 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Tue, 13 Sep 2022 20:17:06 -0400 Subject: [PATCH] Try homebrew for linux --- zsh/.zshenv | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/zsh/.zshenv b/zsh/.zshenv index 2bb205b..25e284d 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -29,6 +29,15 @@ if [[ "$OSTYPE" == darwin* ]]; then [[ -d "$GNU_TAR_PATH" ]] && PATH="$GNU_TAR_PATH:$PATH" [[ -d "$GNU_TOOLS_PATH" ]] && PATH="$GNU_TOOLS_PATH:$PATH" [[ -d "$GNU_TOOLS_MAN_PATH" ]] && MANPATH="$GNU_TOOLS_MAN_PATH:$MANPATH" +elif [[ "$OSTYPE" == linux* ]]; then + HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew"; + HOMEBREW_CELLAR="/home/linuxbrew/.linuxbrew/Cellar"; + HOMEBREW_REPOSITORY="/home/linuxbrew/.linuxbrew/Homebrew"; + + PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin${PATH+:$PATH}"; + + MANPATH="/home/linuxbrew/.linuxbrew/share/man${MANPATH+:$MANPATH}:"; + INFOPATH="/home/linuxbrew/.linuxbrew/share/info:${INFOPATH:-}"; fi [[ -d "$RBENV_PATH" ]] && PATH="$RBENV_PATH:$PATH"