Skip to content

Commit

Permalink
Adds git colors, formats, and aliases + adds GOPATH to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianBland committed Oct 23, 2014
1 parent 8371c52 commit 0b4c9da
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
[user]
name = Brian Bland
email = [email protected]
[log]
decorate = true
[push]
default = simple
[branch]
autosetuprebase = always
[color]
ui = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow
frag = cyan bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[log]
decorate = short
[alias]
rma = !git ls-files -d | xargs git rm
glog = log --all --date-order --graph --format=\"%C(yellow bold)%h %C(cyan bold)%an%C(red bold)%d%Creset %s %C(green bold)%N%Creset\"
wdiff = diff --color-words
track = !git branch -u origin/$(git symbolic-ref --short HEAD)
3 changes: 3 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ compinit

#export GOROOT=/usr/local/Cellar/go/1.1.2
export GOPATH=$HOME/code/go
PATH=$GOPATH/bin:$PATH

boot2docker shellinit > /dev/null 2>&1 && $(boot2docker shellinit)

Expand All @@ -156,3 +157,5 @@ PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
export VIRTUAL_ENV_DISABLE_PROMPT=1

export STACKER_WORKSPACE=/Users/bbland/code/docker

export PATH

0 comments on commit 0b4c9da

Please sign in to comment.