git://git.iain.cx/iain
/
profile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7893f3f
)
Typo checking number of colours.
author
Iain Patterson
<me@iain.cx>
Mon, 22 Aug 2011 15:39:36 +0000
(16:39 +0100)
committer
Iain Patterson
<me@iain.cx>
Thu, 25 Aug 2011 10:18:35 +0000
(11:18 +0100)
.profile.d/grep.bashrc
patch
|
blob
|
history
diff --git
a/.profile.d/grep.bashrc
b/.profile.d/grep.bashrc
index
259be8d
..
20defe0
100644
(file)
--- a/
.profile.d/grep.bashrc
+++ b/
.profile.d/grep.bashrc
@@
-13,7
+13,7
@@
if grep -V 2>/dev/null | grep GNU >/dev/null; then
[ -z "$colours" ] && colours=0
if [ $colours = 256 ]; then
export GREP_COLORS='cx=38;5;246:sl=:mt=33:fn=38;5;25:ln=38;5;82:bn=33:se=38;5;246'
- elif [ $colours -g
t
88 ]; then
+ elif [ $colours -g
e
88 ]; then
export GREP_COLORS='cx=38;5;84:sl=:mt=33:fn=38;5;22:ln=38;5;44:bn=33:se=38;5;84'
else
export GREP_COLORS='cx=31:sl=:mt=33:fn=36:ln=34:bn=33:se=31'