Skip to content

Commit

Permalink
shrc: use diff-highlight when available.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Apr 11, 2015
1 parent 946cb2a commit 5ea1ccc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion shrc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,12 @@ if [ $OSX ]
then
export GREP_OPTIONS="--color=auto"
export CLICOLOR=1
export GIT_PAGER='less -+$LESS -FRX'
if quiet_which diff-highlight
then
export GIT_PAGER='diff-highlight | less -+$LESS -FRX'
else
export GIT_PAGER='less -+$LESS -FRX'
fi

add_to_path_end /Applications/Xcode.app/Contents/Developer/usr/bin
add_to_path_end /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Expand Down

0 comments on commit 5ea1ccc

Please sign in to comment.