Skip to content

Instantly share code, notes, and snippets.

@danield137
Last active December 17, 2017 12:35
Show Gist options
  • Save danield137/9d0960181ea6ecc927cb3270dadc83df to your computer and use it in GitHub Desktop.
Save danield137/9d0960181ea6ecc927cb3270dadc83df to your computer and use it in GitHub Desktop.
zsh_profile
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/danieldubovski/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="robbyrussell"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)
source $ZSH/oh-my-zsh.sh
export LANG="en_US.UTF-8"
export LC_COLLATE="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
export LC_MESSAGES="en_US.UTF-8"
export LC_MONETARY="en_US.UTF-8"
export LC_NUMERIC="en_US.UTF-8"
export LC_TIME="en_US.UTF-8"
export LC_ALL=
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
source /usr/local/bin/virtualenvwrapper.sh
# Setting PATH for Python 2.7
# The orginal version is saved in .bash_profile.pysave
PATH=/bin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:$PATH
export LANG="en_US.UTF-8"
export LC_COLLATE="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
export LC_MESSAGES="en_US.UTF-8"
export LC_MONETARY="en_US.UTF-8"
export LC_NUMERIC="en_US.UTF-8"
export LC_TIME="en_US.UTF-8"
export LC_ALL=
### Adding virtualenvwrapper scripts to path
export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python
source /usr/local/bin/virtualenvwrapper.sh
### Colorizing ls output
alias ls='ls -la'
### Autoenv
source /usr/local/opt/autoenv/activate.sh
export PYTHONPATH=/usr/local/bin/python2.7/site-packages
export WORKON_HOME=$HOME/.virtualenvs
test -e ${HOME}/.iterm2_shell_integration.bash && source ${HOME}/.iterm2_shell_integration.bash
source ~/.iterm2_shell_integration.`basename $SHELL`
export SWIFTENV_ROOT="$HOME/.swiftenv"
export PATH=$PATH:$SWIFTENV_ROOT/bin
eval "$(swiftenv init -)"
# GO
export GOPATH=~/research/go_workspace
PATH=$GOPATH/bin:$PATH
# sublime
export EDITOR='subl -w'
export CPLUS_INCLUDE_PATH=/usr/local/include
export LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH=/usr/local/lib
#nvm
export NVM_DIR="/Users/danieldubovski/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# libxml
# If you need to have this software first in your PATH run:
PATH=/usr/local/opt/libxml2/bin:$PATH
#For compilers to find this software you may need to set:
LDFLAGS=-L/usr/local/opt/libxml2/lib
CPPFLAGS=-I/usr/local/opt/libxml2/include
#For pkg-config to find this software you may need to set:
PKG_CONFIG_PATH=/usr/local/opt/libxml2/lib/pkgconfig
export PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment