Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This ripl plugin colorizes your results.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gemspec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 CHANGELOG.rdoc
Octocat-spinner-32 COPYING
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 deps.rip
README.rdoc

Description

This ripl plugin colorizes your results.

Install

Install the gem with:

gem install ripl-color_result

Usage

Add to your ~/.riplrc

require 'ripl/color_result'

You can choose a :color_result_engine. By default, Wirb] is used. Possible other values are:

Example (in your ~/.riplrc)

Ripl.config[:color_result_engine] = :coderay

Set it to nil to deactivate result colorization.

You can change the colors used by the default colorization by editing the :color_result_default_schema hash:

Ripl.config[:color_result_default_schema][:comma] = :blue

If you use awesome_print, you can override default options using :color_result_ap_options hash:

Ripl.config[:color_result_ap_options] = { :multiline => false }

Credits

Copyright © 2010 Jan Lelis <rbjl.net>, see COPYING for details.

Plus contributions by cldwalker and DirtYiCE.

J-_-L

Something went wrong with that request. Please try again.