From 04add5d9bfe8a7b790ad8564e11f7c5bd7846139 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sun, 11 Sep 2022 19:10:25 -0400 Subject: [PATCH] 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 --- app-shells/bash/files/bashrc | 2 -- 1 file changed, 2 deletions(-) diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc index bce7204e3c018..b7202a361d31e 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 \$ '