mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
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>
This commit is contained in:
@@ -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 \$ '
|
||||
|
||||
Reference in New Issue
Block a user