aboutsummaryrefslogtreecommitdiff
path: root/.config/irb/irbrc
blob: 9a1cc3f22db799d157fbf0f72596a554c64073ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

require 'rubygems'

# Simple prompt
IRB.conf[:PROMPT_MODE] = :SIMPLE

# History
IRB.conf[:SAVE_HISTORY] = 100
IRB.conf[:HISTORY_FILE] = File.expand_path('~/.irb_history')

# Use readline
IRB.conf[:USE_READLINE] = true

# Reload this .irbrc
def reload!
  load __FILE__
end