Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/bash/files/
Date: Sat, 29 May 2021 18:51:16
Message-Id: 1622314265.b998b780c790cb25d8a2323af4d0fe82b9b1d2b5.polynomial-c@gentoo
1 commit: b998b780c790cb25d8a2323af4d0fe82b9b1d2b5
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 29 18:34:20 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat May 29 18:51:05 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b998b780
7
8 app-shells/bash: Replace egrep/fgrep with grep -E/-F
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 app-shells/bash/files/bashrc | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc
16 index 2f3dc775545..bce7204e3c0 100644
17 --- a/app-shells/bash/files/bashrc
18 +++ b/app-shells/bash/files/bashrc
19 @@ -94,8 +94,8 @@ if ${use_color} ; then
20 #BSD#@export CLICOLOR=1
21 #GNU#@alias ls='ls --color=auto'
22 alias grep='grep --colour=auto'
23 - alias egrep='egrep --colour=auto'
24 - alias fgrep='fgrep --colour=auto'
25 + alias egrep='grep -E --colour=auto'
26 + alias fgrep='grep -F --colour=auto'
27 else
28 # show root@ when we don't have colors
29 PS1+='\u@\h \w \$ '