[ruby/irb] Fix documents for .irbrc path

https://github.com/ruby/irb/commit/af99c01b0d
This commit is contained in:
Kouhei Yanagita 2022-05-17 18:47:41 +09:00 committed by git
parent 11af23ee92
commit e658da9408

View File

@ -102,10 +102,13 @@ require_relative "irb/easter-egg"
# #
# == Configuration # == Configuration
# #
# IRB reads from <code>~/.irbrc</code> when it's invoked. # IRB reads a personal initialization file when it's invoked.
# # IRB searches a file in the following order and loads the first one found.
# If <code>~/.irbrc</code> doesn't exist, +irb+ will try to read in the following order:
# #
# * +$IRBRC+ (if +$IRBRC+ is set)
# * +$XDG_CONFIG_HOME/irb/irbrc+ (if +$XDG_CONFIG_HOME+ is set)
# * +~/.irbrc+
# * +.config/irb/irbrc+
# * +.irbrc+ # * +.irbrc+
# * +irb.rc+ # * +irb.rc+
# * +_irbrc+ # * +_irbrc+