Created
February 12, 2017 18:46
-
-
Save mgenov/8a525228e550cf41615d8aaa078bbd14 to your computer and use it in GitHub Desktop.
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
export ZSH=/Users/mgenov/.oh-my-zsh | |
ZSH_THEME="cloud" | |
# 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 PATH=/usr/local/sbin:/usr/local/bin:${PATH} | |
export PATH="$HOME/bin:$PATH" | |
export PATH="$HOME/development/gradle/bin:$PATH" | |
export PATH="$HOME/development/google-cloud-sdk/bin:$PATH" | |
export PATH="$HOME/development/maven/bin:$PATH" | |
export PATH="$HOME/development/mongodb/bin:$PATH" | |
export GOPATH=$HOME | |
export GRADLE_OPTS=-Xmx512m | |
export PATH="$PATH:$HOME/development/go/bin/:$GOPATH/bin" | |
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home | |
alias ls='ls -G' | |
alias ll='ls -lG' | |
alias duh='du -csh' | |
alias bss='cd /Users/mgenov/workspaces/idea/telcong.bss' | |
alias oss='cd $GOPATH/src/github.com/clouway/' | |
alias tgps='cd $GOPATH/src/github.com/clouway/tgps/' | |
alias admin='cd $GOPATH/src/github.com/clouway/telcong-admin' | |
alias mg='cd $GOPATH/src/github.com/mgenov' | |
export LSCOLORS="ExGxBxDxCxEgEdxbxgxcxd" | |
export GREP_OPTIONS="--color" | |
# Unbreak history | |
export HISTSIZE=100000 | |
export HISTFILE="$HOME/.history" | |
export SAVEHIST=$HISTSIZE | |
# Unbreak Python's error-prone .pyc file generation | |
export WORDCHARS='*?[]~&;!$%^<>' | |
export ACK_COLOR_MATCH='red' | |
# GIT helper functions | |
function fetchpl() | |
{ | |
git checkout master | |
git fetch origin pull/$1/head:pr/$1 | |
git checkout pr/$1 | |
git rebase master | |
} | |
function checkpl() { | |
git checkout master | |
git fetch upstream pull/$1/head:pr/$1 | |
git checkout pr/$1 | |
} |
Author
mgenov
commented
Feb 12, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment