Merge pull request #17033 from Homebrew/irb-ergonomics

Add IRB H = Homebrew alias
This commit is contained in:
Mike McQuaid 2024-04-05 08:46:57 +01:00 committed by GitHub
commit af39e5f68b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -4,6 +4,6 @@
require 'irb/completion'
IRB.conf[:SAVE_HISTORY] = 100
IRB.conf[:HISTORY_FILE] = "#{Dir.home}/.brew_irb_history"
IRB.conf[:IRB_NAME] = "brew"
H = Homebrew

View File

@ -76,7 +76,6 @@ module Homebrew
if args.pry?
Pry.config.should_load_rc = false # skip loading .pryrc
Pry.config.history_file = "#{Dir.home}/.brew_pry_history"
Pry.config.memory_size = 100 # max lines to save to history file
Pry.config.prompt_name = "brew"
Pry.start