dotfiles/zsh/.zshenv

29 lines
633 B
Plaintext
Raw Normal View History

2021-03-08 19:15:38 +00:00
typeset -U path
path=(~/bin ~/.local/bin ~/.gem/ruby/2.6.0/bin ~/go/bin /opt/local/bin ~/.cargo/bin $path)
2021-02-24 21:50:58 +00:00
if [ -d ~/lola ];
then
export LOLA_HOME=~/lola/lola-server
export MODELS_HOME=~/lola/models
export LOLA_TRAVEL_SERVICE_HOME=~/lola/lola-travel-service
fi
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