dotfiles/zsh/.zshenv
2024-04-03 18:46:44 -06:00

46 lines
1.3 KiB
Bash

# 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;
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=1
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"
# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix
export NAVI_PATH="/Users/jdormit/Library/Application Support/navi/cheats/denisidoro__cheats:/Users/jdormit/Library/Application Support/navi/cheats/denisidoro__navi-tldr-pages"