From 93d2fe039997080cdf4d2177d8092e08093aef72 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 22 Aug 2011 16:39:36 +0100 Subject: [PATCH] Typo checking number of colours. --- .profile.d/grep.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.profile.d/grep.bashrc b/.profile.d/grep.bashrc index 259be8d..20defe0 100644 --- 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 -gt 88 ]; then + elif [ $colours -ge 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' -- 2.7.4