dotfiles/zsh/.zshenv

32 lines
912 B
Bash

typeset -U path
path=(~/bin ~/.local/bin ~/.gem/ruby/2.6.0/bin ~/go/bin /opt/local/bin /usr/local/opt/make/libexec/gnubin /opt/homebrew/opt/coreutils/libexec/gnubin $path)
export INFOPATH="$HOME/info:/opt/homebrew/share/info:"
export LEDGER_FILE="$HOME/journal.ledger"
EDITOR="$(which emacsclient)"
export EDITOR
export NVM_DIR="$HOME/.nvm"
export WORKON_HOME="$HOME/.local/share/virtualenvs"
GPG_TTY=$(tty)
export GPG_TTY
if [ -d /Applications/Postgres.app ];
then
path=(/Applications/Postgres.app/Contents/Versions/latest/bin $path)
fi
export PIPENV_MAX_DEPTH=20
export PIPENV_VENV_IN_PROJECT=yes
if [ -d "/opt/homebrew/Caskroom/google-cloud-sdk" ]; then
source "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc"
source "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc"
fi
[[ -e "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env"