From 351f14f9f4e29c2a4f5efe69b56d37ffb902ea22 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Thu, 4 Apr 2024 18:54:59 -0700 Subject: [PATCH] Add IRB H = Homebrew alias --- Library/Homebrew/brew_irbrc | 2 +- Library/Homebrew/dev-cmd/irb.rb | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/brew_irbrc b/Library/Homebrew/brew_irbrc index e41311ada7..b31faa3525 100644 --- a/Library/Homebrew/brew_irbrc +++ b/Library/Homebrew/brew_irbrc @@ -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 diff --git a/Library/Homebrew/dev-cmd/irb.rb b/Library/Homebrew/dev-cmd/irb.rb index 18fcc2e010..62128d8f74 100644 --- a/Library/Homebrew/dev-cmd/irb.rb +++ b/Library/Homebrew/dev-cmd/irb.rb @@ -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