Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This ripl plugin colorizes your stdout and stderr streams.
Ruby
Branch: master
Failed to load latest commit information.
lib/ripl version bump to 0.1.2
.gemspec
.gitignore
CHANGELOG.rdoc
LICENSE.txt ripl-color_streams 0.1.0
README.rdoc doc updates and version bump to 0.1.1
Rakefile ripl-color_streams 0.1.0
deps.rip version bump to 0.1.2

README.rdoc

Description

This ripl plugin colorizes your stdout and stderr streams.

Install

Install the gem with:

gem install ripl-color_streams

Usage

Add to your ~/.riplrc

require 'ripl/color_streams'

The default colors are :dark_gray (1;30) and :light_red (1;31). You can change them like this:

Ripl.config[:color_streams_stdout] = :light_gray
Ripl.config[:color_streams_stderr] = :red

You can get a list of available colors with Ripl::ColorStreams::COLORS. It's also possible to directly set an ansi-escape string as value.

J-_-L

Something went wrong with that request. Please try again.