Skip to content

Commit

Permalink
Merge remote-tracking branch 'negipo/add_grep_color_option_in_lib'
Browse files Browse the repository at this point in the history
  • Loading branch information
erikw committed Jul 23, 2012
2 parents 0a58ff5 + c627b2b commit 527bc83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Expand Up @@ -4,3 +4,4 @@ Erik Jansson <erikjansson90@gmail.com>
Yuku Takahashi <taka84u9@gmail.com>
Oscar Olsson <osse.olsson@gmail.com>
Ryo Katsuma
negipo
3 changes: 3 additions & 0 deletions lib.sh
Expand Up @@ -17,6 +17,9 @@ else
separator_right_thin=""
fi

# Make sure that grep does not emit colors.
export GREP_OPTIONS="--color=never"

# Register a segment.
register_segment() {
segment_name="$1"
Expand Down

0 comments on commit 527bc83

Please sign in to comment.