Skip to content

Commit 84d26c1

Browse files
committed
Fix IRB history file config
1 parent 34a2b6e commit 84d26c1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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-
.irbrc_history
17+
.irb_history
1818
.rdbg_history
1919

2020
# Documentation cache and generated files:

.irbrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
require "irb/completion"
44

5+
IRB.conf[:HISTORY_FILE] = ".irb_history"
56
IRB.conf[:USE_AUTOCOMPLETE] = false
67
IRB.conf[:USE_PAGER] = false
78

0 commit comments

Comments
 (0)