Lex Williams wrote:
> Hi guys !
> 
> I'm running opensuse 11.0 . I would like to know 2 things :
> 
> 1) is it possible to change my shell from bash to irb ? if so,how ? ( I
> tried chsh , but with no success )
> 2) is it possible to add methods to irb , by writing code in .irbrc ? If
> so , could I see an example ?
> 
> Thanks

1) Try putting 'exec /usr/bin/irb' or equivalent into your current 
shell's rc file.  Is typing 'irb' really that painful? :)  Do you really 
countenance using irb as your main shell???
2) Here's mine:
# load libraries
require 'rubygems'
require 'wirble'

# start wirble (with color)
Wirble.init
Wirble.colorize
Wirble::Colorize.colors[:symbol_prefix] = :green
Wirble::Colorize.colors[:symbol] = :black
-- 
Posted via http://www.ruby-forum.com/.