Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
Colorize make and diff if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
amarshall committed Feb 10, 2012
1 parent d93e222 commit 39abde9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions colordiffrc
@@ -0,0 +1,7 @@
banner=no
color_patches=no
plain=off
newtext=darkgreen
oldtext=darkred
diffstuff=darkcyan
cvsstuff=darkblue
2 changes: 2 additions & 0 deletions sh_common/aliases
Expand Up @@ -13,6 +13,8 @@ alias ri='ri -f ansi'
alias speedtest='wget --delete-after http://cachefly.cachefly.net/10mb.test' alias speedtest='wget --delete-after http://cachefly.cachefly.net/10mb.test'
alias vimload='vim -c "so %"' alias vimload='vim -c "so %"'


which colordiff &>/dev/null && alias diff=colordiff
which colormake &>/dev/null && alias make=colormake
alias grep='grep --color=auto' alias grep='grep --color=auto'
alias egrep='egrep --color=auto' alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto' alias fgrep='fgrep --color=auto'
Expand Down

0 comments on commit 39abde9

Please sign in to comment.