 deabd4a5f9
			
		
	
	
		deabd4a5f9
		
	
	
	
	
		
			
			Now both REPL history is written to $HOME. - Pry: $HOME/.brew_pry_history - IRB: $HOME/.brew_irb_history The IRB config file has also been moved to the library directory.
		
			
				
	
	
		
			10 lines
		
	
	
		
			327 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			327 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Note: that we use a non-standard config file name to reduce
 | |
| # name clashes with other IRB config files like `.irbrc`.
 | |
| # Note #2: This doesn't work with system Ruby for some reason.
 | |
| 
 | |
| require 'irb/completion'
 | |
| 
 | |
| IRB.conf[:SAVE_HISTORY] = 100
 | |
| IRB.conf[:HISTORY_FILE] = "#{Dir.home}/.brew_irb_history"
 | |
| IRB.conf[:IRB_NAME] = "brew"
 |