-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now both REPL history is written to $HOME. - Pry: $HOME/.brew_pry_history - IRB: $HOME/.brew_irb_history The IRB config file has also been moved to the library directory.
- Loading branch information
1 parent
9f7ab25
commit deabd4a
Showing
3 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Note: that we use a non-standard config file name to reduce | ||
# name clashes with other IRB config files like `.irbrc`. | ||
# Note #2: This doesn't work with system Ruby for some reason. | ||
|
||
require 'irb/completion' | ||
|
||
IRB.conf[:SAVE_HISTORY] = 100 | ||
IRB.conf[:HISTORY_FILE] = "#{Dir.home}/.brew_irb_history" | ||
IRB.conf[:IRB_NAME] = "brew" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters