dotfiles/zsh/.zshenv

42 lines
1.3 KiB
Text
Raw Normal View History

2021-11-02 20:14:26 -04:00
NODENV_PATH="$HOME/.nodenv/bin"
RBENV_PATH="$HOME/.rbenv/bin"
2021-11-02 20:14:26 -04:00
LOCAL_HOME_BIN_PATH="$HOME/.local/bin"
PERSONAL_BIN_PATH="$HOME/bin"
PERSONAL_COMPLETIONS_PATH="$HOME/.zsh-completions"
2021-11-02 10:05:52 -04:00
GNU_TOOLS_PATH="/opt/homebrew/opt/coreutils/libexec/gnubin"
GNU_TOOLS_MAN_PATH="/opt/homebrew/opt/coreutils/libexec/gnuman"
2021-11-02 10:05:52 -04:00
if [[ "$OSTYPE" == darwin* ]]; then
2021-11-07 08:10:47 -05:00
HOMEBREW_PREFIX="/opt/homebrew";
HOMEBREW_CELLAR="/opt/homebrew/Cellar";
HOMEBREW_REPOSITORY="/opt/homebrew";
2021-11-02 20:14:26 -04:00
2021-11-07 08:10:47 -05:00
# Added by .zprofile that we've moved
PATH="/usr/local/bin:/Library/Apple/usr/bin:$PATH"
PATH="/opt/homebrew/bin:/opt/homebrew/sbin${PATH+:$PATH}";
MANPATH="/opt/homebrew/share/man${MANPATH+:$MANPATH}:";
INFOPATH="/opt/homebrew/share/info:${INFOPATH:-}";
2021-11-02 10:05:52 -04:00
2021-11-06 13:00:08 -04:00
[[ -d "$GNU_TOOLS_PATH" ]] && PATH="$GNU_TOOLS_PATH:$PATH"
[[ -d "$GNU_TOOLS_MAN_PATH" ]] && MANPATH="$GNU_TOOLS_MAN_PATH:$MANPATH"
GO_DIR="/usr/local/opt/go/libexec"
else
GO_DIR="/usr/local/go/bin"
fi
2016-02-11 08:43:34 -05:00
# BIN
[[ -d "$RBENV_PATH" ]] && PATH="$RBENV_PATH:$PATH"
2020-10-17 21:43:09 -04:00
[[ -d "$NODENV_PATH" ]] && PATH="$NODENV_PATH:$PATH"
2016-02-11 08:43:34 -05:00
2021-11-02 20:14:26 -04:00
[[ -d "$LOCAL_HOME_BIN_PATH" ]] && PATH="$LOCAL_HOME_BIN_PATH:$PATH"
[[ -d "$PERSONAL_BIN_PATH" ]] && PATH="$PERSONAL_BIN_PATH:$PATH"
2021-11-07 08:10:47 -05:00
[[ -d "$PERSONAL_COMPLETIONS_PATH" ]] && FPATH="$PERSONAL_COMPLETIONS_PATH:$FPATH"
2016-02-11 08:43:34 -05:00
# EDITOR
2021-11-07 08:10:47 -05:00
EDITOR=vim
GIT_EDITOR=vim