dotfiles/zsh/.zshenv

37 lines
1.1 KiB
Plaintext
Raw Normal View History

2021-03-08 19:15:38 +00:00
typeset -U path
2021-10-05 15:14:38 +00:00
path=(~/bin ~/.local/bin ~/.gem/ruby/2.6.0/bin ~/go/bin /opt/local/bin ~/.cargo/bin /usr/local/opt/make/libexec/gnubin $path)
2021-03-08 19:15:38 +00:00
2022-03-30 14:13:42 +00:00
export INFOPATH="$HOME/info:/opt/homebrew/share/info:"
2021-02-24 21:50:58 +00:00
export LEDGER_FILE="$HOME/journal.ledger"
EDITOR="$(which emacsclient)"
export EDITOR
export PATH="$HOME/.cargo/bin:$PATH"
export NVM_DIR="$HOME/.nvm"
export WORKON_HOME="$HOME/.local/share/virtualenvs"
GPG_TTY=$(tty)
export GPG_TTY
if [ -d /Applications/Postgres.app ];
then
2021-03-08 19:15:38 +00:00
path=(/Applications/Postgres.app/Contents/Versions/latest/bin $path)
2021-02-24 21:50:58 +00:00
fi
2021-04-07 20:55:14 +00:00
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
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
path=("$SDKMAN_DIR/candidates/java/current/bin" "$path[@]")