Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Backup of my bash configs
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
export PATH="/usr/local/mysql/bin:/usr/local/sbin:/usr/local/share/npm/bin:$PATH"
export NODE_PATH="/usr/local/lib/node"
source ~/.git-completion.bash
# Git Prompt
function parse_git_dirty {
[[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*"
}
function parse_git_branch {
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/[\1$(parse_git_dirty)]/"
}
export PS1='\u:\[\033[31;40m\]\w\[\033[0;33m\]$(parse_git_branch)\[\e[0m\]$ '
# colors for terminal
export CLICOLOR='true'
export LSCOLORS="gxfxcxdxbxegedabagacad"
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# Google's Go
export GOROOT=$HOME/go
export GOOS=darwin
export GOARCH=386
export GOBIN=$HOME/bin
export PATH=$GOBIN:$PATH
# git
alias gs='git status'
alias gco='git checkout'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.