Sorin Ionescu
14 years ago
8 changed files with 20 additions and 15 deletions
@ -1,6 +1,4 @@
@@ -1,6 +1,4 @@
|
||||
# |
||||
# Color grep results |
||||
# Examples: http://rubyurl.com/ZXv |
||||
# |
||||
export GREP_OPTIONS='--color=auto' |
||||
export GREP_COLOR='1;32' |
||||
if [[ "$DISABLE_COLOR" != "true" ]]; then |
||||
[[ -z "$GREP_OPTIONS" ]] && export GREP_OPTIONS='--color=auto' |
||||
[[ -z "$GREP_COLOR" ]] && export GREP_COLOR='1;32' |
||||
fi |
||||
|
Loading…
Reference in new issue