Last active
November 17, 2017 06:48
-
-
Save heshed/9e7bbcbee3cdd2458ec2 to your computer and use it in GitHub Desktop.
.zshrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Executes commands at the start of an interactive session. | |
# | |
# Authors: | |
# Sorin Ionescu <sorin.ionescu@gmail.com> | |
# | |
# Source Prezto. | |
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then | |
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" | |
fi | |
# Customize to your needs... | |
export EDITOR=vim | |
export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH" | |
alias ls='ls --color' | |
export WORKSPACE=$HOME/workspace | |
export ANSIBLE_HOME="$WORKSPACE/usf-ansible" | |
export VAGRANT_CONFIG="/daum/conf/tot_search/usf-config" | |
export M2_HOME=/usr/local/opt/maven/libexec | |
export GRADLE_HOME=/usr/local/opt/gradle/libexec | |
export JAVA_HOME=`/usr/libexec/java_home -v 1.8` | |
if [[ -s "~/.bin/tmuxinator.zsh" ]]; then | |
source ~/.bin/tmuxinator.zsh | |
fi | |
export SCALA_HOME=~/workspace/scala-2.10.6 | |
export SPARK_HOME=~/workspace/spark-1.5.2-bin-hadoop2.6 | |
#export GOROOT="/usr/local/go" | |
export GOPATH=~/gopath | |
export GO15VENDOREXPERIMENT=1 | |
export PATH="/usr/local/opt/curl/bin:/usr/local/opt/coreutils/libexec/gnubin:$PATH" | |
export PATH="/usr/local/opt/dart/libexec:$PATH" | |
export PATH="/usr/local/bin:$GOPATH/bin:$HOME/bin:$PATH" | |
export PATH="$PATH:$HOME/.composer/vendor/bin" | |
# github token for homebrew | |
export HOMEBREW_GITHUB_API_TOKEN=0af7443373ce874ae1dca6cd97923c598ce3a5da | |
# Golang alias | |
alias gl='glide' | |
alias cdg='cd $GOPATH/src' | |
# usf-vagrant | |
alias cdv='cd $WORKSPACE/usf-vagrant/developer/shared/to-guest' | |
alias pcup='cd $WORKSPACE/usf-vagrant/developer/usfpc; vagrant up;cd -' | |
alias moup='cd $WORKSPACE/usf-vagrant/developer/usfmo; vagrant up;cd -' | |
alias pchalt='cd $WORKSPACE/usf-vagrant/developer/usfpc; vagrant halt;cd -' | |
alias mohalt='cd $WORKSPACE/usf-vagrant/developer/usfmo; vagrant halt;cd -' | |
alias mconf='ssh usfmo genconfig' | |
alias pconf='ssh usfpc genconfig' | |
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment