Thanks for this.

I wondered about RVM's prompt. I noticed it auto-indenting when
starting a block/class/def etc,

RVM sets the prompt:
:RVM=>
  {:PROMPT_I=>"ruby-1.9.2-p0 > ",
   :PROMPT_S=>"ruby-1.9.2-p0%l> ",
   :PROMPT_C=>"ruby-1.9.2-p0 > ",
   :PROMPT_N=>"ruby-1.9.2-p0 ?> ",
   :RETURN=>" => %s \n",
   :AUTO_INDENT=>true}}

So the AUTO_INDENT flag is true. Nice! Also, it shows the current rubie.

Cheers,
Ed

Ed Howland
http://greenprogrammer.wordpress.com
http://twitter.com/ed_howland



On Sat, Oct 9, 2010 at 8:25 PM, Darren Nickerson <darren / thereef.ca> wrote:
> The command irb --prompt inf-ruby worked to get it looking like the way
> I want it to. thanks guys
> --
> Posted via http://www.ruby-forum.com/.
>
>