mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Inline linuxbrew setup to save around 200ms on shell startup speed
This commit is contained in:
9
zshenv
9
zshenv
@@ -98,7 +98,14 @@ fi
|
||||
|
||||
# Linuxbrew
|
||||
if [ -f "/home/linuxbrew/.linuxbrew/bin/brew" ]; then
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
# Inline linux-brew setup to improve shell startup speed by around 200ms.
|
||||
export HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew"
|
||||
export HOMEBREW_CELLAR="${HOMEBREW_PREFIX}/Cellar"
|
||||
export HOMEBREW_REPOSITORY="${HOMEBREW_PREFIX}/Homebrew"
|
||||
export MANPATH="${HOMEBREW_PREFIX}/share/man${MANPATH+:$MANPATH}:"
|
||||
export INFOPATH="${HOMEBREW_PREFIX}/share/info${INFOPATH+:$INFOPATH}"
|
||||
path_prepend "${HOMEBREW_PREFIX}/bin"
|
||||
path_prepend "${HOMEBREW_PREFIX}/sbin"
|
||||
fi
|
||||
|
||||
# Android SDK environment setup.
|
||||
|
||||
Reference in New Issue
Block a user