Created
February 16, 2016 01:15
-
-
Save QuillyT/3f897372478ba4a6f7d1 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 PS1="\W\[\033[32m\]\$(parse_git_branch)\[\033[00m\]🙊 " | |
# Git branch in prompt. | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
source /usr/local/etc/bash_completion.d/git-completion.bash | |
alias cdp="cd ~/Projects/gSchool/projects" | |
alias cdP="cd ~/Projects" | |
alias cdg="cd ~/Projects/gSchool" | |
alias cdgo="cd $GOPATH" | |
alias cdgome="cd $GOPATH/src/github.com/QuillyT/" | |
alias cdL="cd ~/Projects/Lynxsy/Web/LynxsyMVP" | |
alias cdQ="cd ~/Projects/QuentinTai" | |
alias gs='git status' | |
alias ga='git add -A' | |
alias gb='git branch' | |
alias gco='git commit' | |
alias gcom='git commit -m' | |
alias gch='git checkout' | |
alias gd='git diff' | |
alias gdc='git diff --cached' | |
alias gk='gitk --all&' | |
alias gx='gitx --all' | |
alias gr='go run' | |
alias jn='jasmine-node' | |
alias rr='rp5 run' | |
alias stageit='git co staging && git fetch && git pull && git push staging staging:master && heroku run rake db:migrate -r staging && heroku restart -r staging' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment