1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[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
#
# IRB reads from <code>~/.irbrc</code> when it's invoked.
#
# If <code>~/.irbrc</code> doesn't exist, +irb+ will try to read in the following order:
# IRB reads a personal initialization file when it's invoked.
# IRB searches a file in the following order and loads the first one found.
#
# * +$IRBRC+ (if +$IRBRC+ is set)
# * +$XDG_CONFIG_HOME/irb/irbrc+ (if +$XDG_CONFIG_HOME+ is set)
# * +~/.irbrc+
# * +.config/irb/irbrc+
# * +.irbrc+
# * +irb.rc+
# * +_irbrc+