0.0
No commit activity in last 3 years
No release in over 3 years
This ripl plugin adds a --profile option to ripl that loads profile files in ~/.ripl/profiles before starting ripl.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.3.6
 Project Readme

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