dotfiles/zsh/.zshenv

38 lines
998 B
Plaintext
Raw Normal View History

2023-09-22 16:12:45 +00:00
# Speed up startup by restricting compinit dump file check to once per day
# https://gist.github.com/ctechols/ca1035271ad134841284#gistcomment-2308206
autoload -Uz compinit
if [[ -n ${ZDOTDIR}/.zcompdump(#qN.mh+24) ]]; then
compinit;
else
compinit -C;
fi;
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 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
2022-04-11 01:12:13 +00:00
[[ -e "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env"