Skip to content

Instantly share code, notes, and snippets.

@mgenov
Created February 12, 2017 18:46
Show Gist options
  • Save mgenov/8a525228e550cf41615d8aaa078bbd14 to your computer and use it in GitHub Desktop.
Save mgenov/8a525228e550cf41615d8aaa078bbd14 to your computer and use it in GitHub Desktop.
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
}
@mgenov
Copy link
Author

mgenov commented Feb 12, 2017

screen shot 2017-02-12 at 8 49 14 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment