Add IRB H = Homebrew alias
This commit is contained in:
		
							parent
							
								
									9bd03675f6
								
							
						
					
					
						commit
						351f14f9f4
					
				@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user