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:
parent
11af23ee92
commit
e658da9408
1 changed files with 6 additions and 3 deletions
|
@ -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+
|
||||
|
|
Loading…
Add table
Reference in a new issue