summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-09-13 21:46:48 +0000
committerMike Frysinger <vapier@gentoo.org>2012-09-13 21:46:48 +0000
commitba3088347af852ecf3a8161adf3ec1f7c4271a47 (patch)
treedadb3c0c7192df6f6aaf37040c4002a2b9997742 /app-shells/bash/files
parentStable ppc, bug #434876 (diff)
downloadhistorical-ba3088347af852ecf3a8161adf3ec1f7c4271a47.tar.gz
historical-ba3088347af852ecf3a8161adf3ec1f7c4271a47.tar.bz2
historical-ba3088347af852ecf3a8161adf3ec1f7c4271a47.zip
Add egrep/fgrep colour aliases too #434170 by Dave Kemper.
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'app-shells/bash/files')
-rw-r--r--app-shells/bash/files/bashrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc
index a3773d648ea6..ee030f758f12 100644
--- a/app-shells/bash/files/bashrc
+++ b/app-shells/bash/files/bashrc
@@ -73,6 +73,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'
else
if [[ ${EUID} == 0 ]] ; then
# show root@ when we don't have colors