ruby/lib/irb/command
tomoya ishida bda5b09937 [ruby/irb] Fix irb_history saved to current directory
(https://github.com/ruby/irb/pull/901)

* Always save irb_history in HOME or XDG_CONFIG_HOME

Also split irbrc search logic from irb_history search logic as a refactor

* Remove IRB.conf[:RC_NAME_GENERATOR] because it's not configurable

This conf is used to specify which irbrc to load. Need to configure before irbrc is loaded, so it's actually not configurable.
This conf is also used for history file search, but it is configurable by conf[:HISTORY_FILE].

* remove rc_file_test because it is tested with rc_files, remove useless test setup

* Make internal irbrc searching method private

11d03a6ff7
2024-03-16 15:20:03 +00:00
..
backtrace.rb
base.rb [ruby/irb] Turn on frozen literal in files 2024-02-23 10:53:53 +00:00
break.rb
catch.rb
chws.rb [ruby/irb] Turn on frozen literal in files 2024-02-23 10:53:53 +00:00
continue.rb
debug.rb [ruby/irb] Fix irb:rdbg for ruby head 2024-02-19 11:01:30 +09:00
delete.rb
disable_irb.rb [ruby/irb] Add disable_irb command to disable debug of binding.irb 2024-03-14 15:40:27 +00:00
edit.rb
exit.rb
finish.rb
force_exit.rb
help.rb
history.rb
info.rb
irb_info.rb [ruby/irb] Fix irb_history saved to current directory 2024-03-16 15:20:03 +00:00
load.rb [ruby/irb] Turn on frozen literal in files 2024-02-23 10:53:53 +00:00
ls.rb
measure.rb
next.rb
pushws.rb [ruby/irb] Restructure workspace management 2024-03-01 15:51:29 +00:00
show_doc.rb [ruby/irb] Add help messages to show_source and show_doc 2024-02-25 15:22:33 +00:00
show_source.rb [ruby/irb] Add help messages to show_source and show_doc 2024-02-25 15:22:33 +00:00
step.rb
subirb.rb [ruby/irb] Turn on frozen literal in files 2024-02-23 10:53:53 +00:00
whereami.rb