Skip to content

Commit

Permalink
[ruby/irb] Fix documents for .irbrc path
Browse files Browse the repository at this point in the history
  • Loading branch information
kyanagi authored and matzbot committed May 17, 2022
1 parent 11af23e commit e658da9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/irb.rb
Expand Up @@ -102,10 +102,13 @@
#
# == 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+
Expand Down

0 comments on commit e658da9

Please sign in to comment.