summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-09-11 19:10:25 -0400
committerMike Gilbert <floppym@gentoo.org>2022-09-11 19:10:25 -0400
commit04add5d9bfe8a7b790ad8564e11f7c5bd7846139 (patch)
tree58b4650a7bf36a4513db64be6d315f9244a8becf
parentsci-mathematics/octave: better slibtool fix in v6.4.0. (diff)
downloadgentoo-04add5d9.tar.gz
gentoo-04add5d9.tar.bz2
gentoo-04add5d9.zip
app-shells/bash: remove egrep/fgrep aliases from bashrc
Upstream has declared these forms to be deprecated. Aliasing them to 'grep -E' and 'grep -F' prevents the deprecation warning from being displayed, which could lead to confusion. Bug: https://bugs.gentoo.org/869788 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
-rw-r--r--app-shells/bash/files/bashrc2
1 files changed, 0 insertions, 2 deletions
diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc
index bce7204e3c01..b7202a361d31 100644
--- a/app-shells/bash/files/bashrc
+++ b/app-shells/bash/files/bashrc
@@ -94,8 +94,6 @@ if ${use_color} ; then
#BSD#@export CLICOLOR=1
#GNU#@alias ls='ls --color=auto'
alias grep='grep --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 \$ '