Merge pull request #17033 from Homebrew/irb-ergonomics
Add IRB H = Homebrew alias
This commit is contained in:
commit
af39e5f68b
@ -4,6 +4,6 @@
|
|||||||
|
|
||||||
require 'irb/completion'
|
require 'irb/completion'
|
||||||
|
|
||||||
IRB.conf[:SAVE_HISTORY] = 100
|
|
||||||
IRB.conf[:HISTORY_FILE] = "#{Dir.home}/.brew_irb_history"
|
IRB.conf[:HISTORY_FILE] = "#{Dir.home}/.brew_irb_history"
|
||||||
IRB.conf[:IRB_NAME] = "brew"
|
IRB.conf[:IRB_NAME] = "brew"
|
||||||
|
H = Homebrew
|
||||||
|
@ -76,7 +76,6 @@ module Homebrew
|
|||||||
if args.pry?
|
if args.pry?
|
||||||
Pry.config.should_load_rc = false # skip loading .pryrc
|
Pry.config.should_load_rc = false # skip loading .pryrc
|
||||||
Pry.config.history_file = "#{Dir.home}/.brew_pry_history"
|
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.config.prompt_name = "brew"
|
||||||
|
|
||||||
Pry.start
|
Pry.start
|
||||||
|
Loading…
x
Reference in New Issue
Block a user