Akagi201
10/19/2016 - 2:17 AM

.zshrc

# Path to your oh-my-zsh installation.
export ZSH=/Users/akagi201/.oh-my-zsh

# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="pure"

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"

# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# 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)

# User configuration

export PATH="/Users/akagi201/.luaenv/shims:/Users/akagi201/.luaenv/bin:/usr/local/opt/pyenv/shims:/Users/akagi201/.rbenv/shims:/Users/akagi201/aksh:/Users/akagi201/akpy:/Users/akagi201/akapp/depot_tools:/Users/akagi201/.rbenv/bin:/Applications/mobfound.app/Contents/Resources/adb:/usr/local/bin/:/Users/akagi201/akgo/bin:/Users/akagi201/bin:/usr/local/bin:/usr/local/opt/pyenv/shims:/usr/local/opt/pyenv/bin:/Users/akagi201/.luaenv/shims:/Users/akagi201/.luaenv/bin:/Users/akagi201/kiosk/sbin/shell:/Users/akagi201/kiosk/sbin/cron:/usr/local/opt/pyenv/shims:/Users/akagi201/.rbenv/shims:/Users/akagi201/aksh:/Users/akagi201/akpy:/Users/akagi201/akapp/depot_tools:/Users/akagi201/.rbenv/bin:/Applications/mobfound.app/Contents/Resources/adb:/usr/local/bin/:/Users/akagi201/akgo/bin:/Users/akagi201/bin:/usr/local/bin:/usr/local/opt/pyenv/shims:/usr/local/opt/pyenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin:/Library/TeX/texbin:/Users/akagi201/.luaenv/shims:/Users/akagi201/.luaenv/bin:/Users/akagi201/kiosk/sbin/shell:/Users/akagi201/kiosk/sbin/cron:/usr/local/opt/pyenv/shims:/Users/akagi201/.rbenv/shims:/Users/akagi201/aksh:/Users/akagi201/akpy:/Users/akagi201/akapp/depot_tools:/Users/akagi201/.rbenv/bin:/Applications/mobfound.app/Contents/Resources/adb:/usr/local/bin/:/Users/akagi201/akgo/bin:/Users/akagi201/bin:/usr/local/opt/pyenv/bin:/Users/akagi201/.bashhub/bin"
# export MANPATH="/usr/local/man:$MANPATH"
export PATH=/usr/local/opt/go/libexec/bin:$PATH

# export GOPATH=$HOME/akgo:$HOME/Documents/learning-golang/gobyexample:$HOME/Documents/learning-golang/misc:$HOME/Documents/learning-golang/goc2p
export GOPATH=$HOME/akgo
export PATH=$PATH:/usr/local/opt/go/libexec/bin:$GOPATH/bin
export GOBIN=$HOME/akgo/bin

export PATH=/usr/local/share/python:$PATH

export WORKON_HOME=$HOME/.virtualenvs
export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python2.7
export VIRTUALENVWRAPPER_VIRTUALENV_ARGS='--no-site-packages'
export PIP_VIRTUALENV_BASE=$WORKON_HOME
export PIP_RESPECT_VIRTUALENV=true
if [[ -r /usr/local/bin/virtualenvwrapper.sh ]]; then
    source /usr/local/bin/virtualenvwrapper.sh
else
    echo "WARNING: Can't find virtualenvwrapper.sh"
fi

source $ZSH/oh-my-zsh.sh

# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
  export EDITOR='vim'
else
  export EDITOR='mvim'
fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# ssh
# export SSH_KEY_PATH="~/.ssh/dsa_id"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"

export PATH="$HOME/aksh:$PATH"
export PATH="$HOME/.luaenv/bin:$PATH"
eval "$(luaenv init -)"

alias make=colormake
alias tailf="tail -f"
alias orreload='kill -HUP `cat ./logs/nginx.pid`'
alias orstart="openresty -p . -c conf/nginx.conf"
alias orstop='kill -QUIT `cat ./logs/nginx.pid`'

export NVM_DIR="/Users/akagi201/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # This loads nvm

export NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/dist

[[ -s $(brew --prefix)/etc/profile.d/autojump.sh ]] && . $(brew --prefix)/etc/profile.d/autojump.sh

[ -s "/usr/local/opt/autoenv/activate.sh" ] && . "/usr/local/opt/autoenv/activate.sh"

[[ -s "/Users/akagi201/.gvm/scripts/gvm" ]] && source "/Users/akagi201/.gvm/scripts/gvm"

export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
export PATH="$PATH:$HOME/.multirust/toolchains/stable/cargo/bin"
export PATH="$PATH:$HOME/akapp"
export PATH="$PATH:$HOME/webrtc/depot_tools"
# if which swiftenv > /dev/null; then eval "$(swiftenv init -)"; fi

# eval "$(plenv init -)"
# eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"
export PATH="/usr/local/sbin:$PATH"
export PATH="$HOME/bin:$PATH"
export PATH="$HOME/bin/syncthing:$PATH"
alias ctags="`brew --prefix`/bin/ctags"
export RUST_SRC_HOME="$HOME/Documents/rust-lang/rust"
export RUST_SRC_PATH="$RUST_SRC_HOME/src"

if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi