dotfiles/zshrc.local
2017-05-11 17:16:45 -04:00

49 lines
1.3 KiB
Bash

#!/usr/local/bin/zsh
export EDITOR=vim
export MP_FULLNAME="Tyrel Souza"
export VISUAL=$EDITOR
export LANG=en_US.UTF-8
export LC_ALL=$LANG
export LESS=' -R '
export LESSOPEN="| /usr/local/bin/src-hilite-lesspipe.sh %s"
# Python Virtualenv + Wrapper
export PROJECT_HOME=$HOME/AddGeneProjects
export WORKON_HOME=$HOME/.virtualenvs
if [ -e $HOME/.local/bin/virtualenvwrapper.sh ];then
source $HOME/.local/bin/virtualenvwrapper.sh
elif [ -e /usr/local/bin/virtualenvwrapper.sh ]; then
source /usr/local/bin/virtualenvwrapper.sh
fi
export PYTHONSTARTUP=$HOME/.pythonstartup.py
# Node stuff
export NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
export NPM_PACKAGES="${HOME}/.npm-packages"
export PATH="$NPM_PACKAGES/bin:$GOPATH/bin:$HOME/bin:$PATH"
# Go Stuff
export GOPATH=$HOME/go
# GPG stuff
if [[ $OSTYPE == "darwin*" ]];then
export PATH="/usr/local/opt/gnupg/libexec/gpgbin:$PATH"
export CFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib"
export LDFLAGS="-L/usr/local/opt/icu4c/lib"
export CPPFLAGS="-I/usr/local/opt/icu4c/include"
export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"
fi
eval `ssh-agent -s`
if [ -e ~/.ssh/id_addgene ];then
ssh-add ~/.ssh/id_addgene
fi
if [ -e $HOME/.credentials ];then
source $HOME/.credentials
fi
source ~/.bash_aliases
unsetopt share_history