Skip to content

Commit

Permalink
Inlined $git_concise_log_format.
Browse files Browse the repository at this point in the history
  • Loading branch information
benhoskings committed Oct 24, 2011
1 parent 62b79ba commit d5a25f2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions files/.zsh/git_aliases
@@ -1,5 +1,3 @@
export git_concise_log_format='--pretty=format:%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset'

git_current_branch() {
git symbolic-ref HEAD 2> /dev/null | sed -e 's/refs\/heads\///'
}
Expand Down Expand Up @@ -33,7 +31,7 @@ git-new() {
git add .gitignore &&
git commit -m "Added .gitignore."
}
alias glog='git log $git_concise_log_format'
alias glog='git log --pretty=format:%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset'
alias gl='glog --graph'
alias gla='gl --all'
gls() {
Expand Down

0 comments on commit d5a25f2

Please sign in to comment.