Skip to content

Commit a2bced4

Browse files
committed
Streamline IRB config
1 parent d8a393a commit a2bced4

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# .env
1515

1616
# Ignore history files.
17-
.irb_history
17+
.irbrc_history
1818
.rdbg_history
1919

2020
# Documentation cache and generated files:

.irbrc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22

33
require "irb/completion"
44

5-
IRB.conf[:AUTO_INDENT] = true
6-
IRB.conf[:HISTORY_FILE] = ".irb_history"
7-
IRB.conf[:SAVE_HISTORY] = 1000
85
IRB.conf[:USE_AUTOCOMPLETE] = false
6+
IRB.conf[:USE_PAGER] = false
97

108
def clear
119
system("clear")

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ source "https://rubygems.org"
66
gemspec
77

88
gem "debug"
9+
gem "irb"
910
gem "rake"
1011
gem "rspec"
1112
gem "rubocop"

0 commit comments

Comments
 (0)