Created
April 5, 2016 00:05
-
-
Save corsc/2da4cb531073caa0a3ccf53ab325f0e3 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
# System-wide .bashrc file for interactive bash(1) shells. | |
if [ -z "$PS1" ]; then | |
return | |
fi | |
PS1='\u@\h:\w\$ ' | |
# Make bash check its window size after a process completes | |
shopt -s checkwinsize | |
[ -r "/etc/bashrc_$TERM_PROGRAM" ] && . "/etc/bashrc_$TERM_PROGRAM" | |
# Custom settings added by CS for all users | |
# Go Settings | |
export GOPATH=$HOME/go | |
export GOROOT=/usr/local/opt/go/libexec | |
export PATH=$PATH:$GOPATH/bin | |
export PATH=$PATH:$GOROOT/bin | |
# General Settings | |
export PATH=$PATH:~/Applications/ | |
# Git Helpers | |
alias gs='git status ' | |
alias ga='git add ' | |
alias gb='for k in `git branch | sed s/^..//`; do echo -e `git log -1 --pretty=format:"%Cgreen%ci %Cred%cr%Creset" $k --`\\t"$k";done | sort' | |
alias gc='git commit' | |
alias gd='git diff' | |
alias gco='git checkout ' | |
alias gk='gitk --all&' | |
alias gx='gitx --all' | |
alias gp='git pull ' | |
alias grm='git rebase master ' | |
alias gst='git stash ' | |
alias got='git ' | |
alias get='git ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment