29 lines
633 B
Bash
29 lines
633 B
Bash
typeset -U path
|
|
path=(~/bin ~/.local/bin ~/.gem/ruby/2.6.0/bin ~/go/bin /opt/local/bin ~/.cargo/bin $path)
|
|
|
|
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
|
|
path=(/Applications/Postgres.app/Contents/Versions/latest/bin $path)
|
|
fi
|