From 05dabb25083471e44f31c2d68e1d165d806cc26b Mon Sep 17 00:00:00 2001 From: Guillaume DOTT Date: Fri, 22 Feb 2013 16:44:37 +0100 Subject: [PATCH] Add irbrc --- ruby/irbrc | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ruby/irbrc diff --git a/ruby/irbrc b/ruby/irbrc new file mode 100644 index 0000000..f8b2d91 --- /dev/null +++ b/ruby/irbrc @@ -0,0 +1,7 @@ +require 'irb/completion' +require 'irb/ext/save-history' + +IRB.conf[:SAVE_HISTORY] = 200 +IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb_history" + +IRB.conf[:AUTO_INDENT]=true