# Configure history
|
|
setopt APPEND_HISTORY
|
|
setopt EXTENDED_HISTORY
|
|
setopt HIST_FIND_NO_DUPS
|
|
setopt HIST_SAVE_NO_DUPS
|
|
setopt INC_APPEND_HISTORY
|
|
setopt INC_APPEND_HISTORY_TIME
|
|
|
|
export LC_ALL=en_US.UTF-8
|
|
export LANG=en_US.UTF-8
|
|
export TERM="xterm-256color"
|
|
export ACK_PAGER_COLOR="less -x4SRFX"
|
|
|
|
# Configure emacs as default editor
|
|
export GIT_EDITOR="emacs -nw -Q"
|
|
export VISUAL="emacs -nw -Q"
|
|
export EDITOR="emacs -nw -Q"
|
|
|
|
# Configure Go
|
|
export GOPATH=~/go
|
|
|
|
# Configure virtualenv
|
|
export WORKON_HOME=~/.env
|
|
export PYTHONDONTWRITEBYTECODE=1
|
|
|
|
# Configure dotnet
|
|
# DEV: Opt out of telemetry
|
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
|
|
|
# Configure RVM
|
|
export rvm_project_rvmrc=1
|
|
|
|
# Configure NVM
|
|
export NVM_DIR=~/.nvm
|
|
|
|
# Configure GPG
|
|
export GPG_TTY=$(tty)
|
|
|
|
# Configure Path
|
|
PATH="/usr/local/bin:/usr/local/sbin:/sbin:$PATH"
|
|
PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH:~/.local/bin"
|
|
PATH="$PATH:/usr/local/go/bin:$GOPATH/bin"
|
|
PATH="/usr/local/heroku/bin:$PATH"
|
|
PATH="/usr/local/opt/python/libexec/bin:$PATH"
|
|
PATH="$HOME/.cargo/bin:$PATH"
|
|
export PATH="$HOME/.rvm/bin:$PATH"
|
|
export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"
|
|
|
|
# Load in any additional .env files provided
|
|
for f in $(find $ZSH_DIR/ -maxdepth 1 -print -type f | grep '\.env\..*\.zsh' | sort)
|
|
do
|
|
source "$f"
|
|
done
|