From 9b031e26b7efd638fafcd972b9f5f06b2664ed83 Mon Sep 17 00:00:00 2001
From: Prasad Joshi <prasadjoshi.linux@gmail.com>
Date: Fri, 5 Oct 2012 09:53:54 +0530
Subject: [PATCH] bash_profile: Turn on the coloring with <ef>grep
All of the versions of grep have ability to display the colored
output. The patch turn ons the coloring in auto mode.
Fixes the ticket: https://dev.haiku-os.org/ticket/9044
Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>
---
data/etc/profile | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/data/etc/profile b/data/etc/profile
index e61bbc8..04a1896 100644
a
|
b
|
export LC_COLLATE=$LC_MESSAGES
|
24 | 24 | export LC_CTYPE=$LC_MESSAGES |
25 | 25 | export LC_MONETARY=$LC_NUMERIC |
26 | 26 | |
| 27 | alias egrep='egrep --color=auto' |
| 28 | alias fgrep='fgrep --color=auto' |
| 29 | alias grep='grep --color=auto' |
27 | 30 | alias ls="ls --color=auto" |
28 | 31 | alias ll="ls -lA" |
29 | 32 | alias la="ls -A" |