Skip to content

janlelis/ripl-color_streams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This ripl plugin colorizes your stdout and stderr streams.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages