From 9fcf418688bd74e9b7498b305950c16a72f4ea87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Fri, 22 Feb 2019 18:04:18 +0100 Subject: [PATCH] base-files: extend colour to all grep variants MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- appends/oe-core/base-files/profile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/appends/oe-core/base-files/profile b/appends/oe-core/base-files/profile index ea3badc..1b544f6 100644 --- a/appends/oe-core/base-files/profile +++ b/appends/oe-core/base-files/profile @@ -30,7 +30,16 @@ eval `dircolors` alias ls='ls $LS_OPTIONS' alias ll='ls $LS_OPTIONS -l' +# colorize all grep variants alias grep='grep --color' +alias egrep='egrep --color=auto' +alias fgrep='fgrep --color=auto' +alias xzegrep='xzegrep --color=auto' +alias xzfgrep='xzfgrep --color=auto' +alias xzgrep='xzgrep --color=auto' +alias zegrep='zegrep --color=auto' +alias zfgrep='zfgrep --color=auto' +alias zgrep='zgrep --color=auto' # Turn on parallel history shopt -s histappend