commit: b998b780c790cb25d8a2323af4d0fe82b9b1d2b5
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sat May 29 18:34:20 2021 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat May 29 18:51:05 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b998b780
app-shells/bash: Replace egrep/fgrep with grep -E/-F
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
app-shells/bash/files/bashrc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc
index 2f3dc775545..bce7204e3c0 100644
--- a/app-shells/bash/files/bashrc
+++ b/app-shells/bash/files/bashrc
@@ -94,8 +94,8 @@ if ${use_color} ; then
#BSD#@export CLICOLOR=1
#GNU#@alias ls='ls --color=auto'
alias grep='grep --colour=auto'
- alias egrep='egrep --colour=auto'
- alias fgrep='fgrep --colour=auto'
+ alias egrep='grep -E --colour=auto'
+ alias fgrep='grep -F --colour=auto'
else
# show root@ when we don't have colors
PS1+='\u@\h \w \$ '