summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-05-29 20:34:20 +0200
committerLars Wendler <polynomial-c@gentoo.org>2021-05-29 20:51:05 +0200
commitb998b780c790cb25d8a2323af4d0fe82b9b1d2b5 (patch)
tree613e60c2f59244daeecec040a5fcbf8a1922190d /app-shells
parentsys-apps/opal-utils: revbump, install phberr.py script (diff)
downloadgentoo-b998b780c790cb25d8a2323af4d0fe82b9b1d2b5.tar.gz
gentoo-b998b780c790cb25d8a2323af4d0fe82b9b1d2b5.tar.bz2
gentoo-b998b780c790cb25d8a2323af4d0fe82b9b1d2b5.zip
app-shells/bash: Replace egrep/fgrep with grep -E/-F
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/bash/files/bashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc
index 2f3dc7755455..bce7204e3c01 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 \$ '