Add IRB H = Homebrew alias

This commit is contained in:
Douglas Eichelberger 2024-04-04 18:54:59 -07:00
parent 9bd03675f6
commit 351f14f9f4
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