Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This ripl plugin adds a --profile option to ripl that loads profile files in ~/.ripl/profiles before starting ripl

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 LICENSE.txt
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 deps.rip
README.rdoc

Description

This ripl plugin adds a --profile option to ripl that loads profile files in ~/.ripl/profiles/ before ripl starts.

Install

Install the gem with:

gem install ripl-profiles

Usage

Add to your ~/.riplrc

require 'ripl/profiles'

You can now call

ripl --profile colors

which will try to load ~/.ripl/profiles/colors.rb before starting ripl. You can change the profile path with Ripl.config[:profiles_prefix].

Multiple profiles can be separated with : .

To specify which profiles should always get loaded, you can use the Ripl.config[:profiles_base] array.

You can also set a default profile with Ripl.config[:profiles_default], which will only be loaded, if no profile option has been passed.

J-_-L

Something went wrong with that request. Please try again.