Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404035 - app-shells/zsh - add GREP_OPTIONS to profile
Summary: app-shells/zsh - add GREP_OPTIONS to profile
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-16 05:44 UTC by Brian Lee
Modified: 2013-12-23 15:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Lee 2012-02-16 05:44:30 UTC
Add the following to the default bashrc or zshrc:

export GREP_OPTIONS="--color=auto"

This will have grep highlight matches in red (the default), a minor but useful enhancement to the default grep behavior.

Reproducible: Always

Steps to Reproduce:
1. add export GREP_OPTIONS='--color=auto' to your $HOME/.bashrc or $HOME/.zshrc
2.
3.
Comment 1 Jeroen Roovers gentoo-dev 2012-02-16 05:55:31 UTC
app-shells/bash : /etc/bash/bashrc:76:  alias grep='grep --colour=auto'

There you go - halfway there!