diff options
author | Kouhei Yanagita <[email protected]> | 2022-05-18 11:21:24 +0900 |
---|---|---|
committer | git <[email protected]> | 2022-10-05 19:20:22 +0900 |
commit | 107acbd9a475f74be89e63fbb12c11593692b59f (patch) | |
tree | 36fc26f51f3641531dbe9c7480a1e1b14a2c1b58 /man | |
parent | d88032224338f9c3358b73ef26d6c046eb24247e (diff) |
[ruby/irb] Add description of IRB_LANG, IRBRC, and XDG_CONFIG_HOME to man
https://github.com/ruby/irb/commit/564bd91387
Diffstat (limited to 'man')
-rw-r--r-- | man/irb.1 | 25 |
1 files changed, 23 insertions, 2 deletions
@@ -173,8 +173,19 @@ The default value is 16. .El .Pp .Sh ENVIRONMENT -.Bl -tag -compact +.Bl -tag -compact -width "XDG_CONFIG_HOME" +.It Ev IRB_LANG +The locale used for +.Nm . +.Pp .It Ev IRBRC +The path to the personal initialization file. +.Pp +.It Ev XDG_CONFIG_HOME +.Nm +respects XDG_CONFIG_HOME. If this is set, load +.Pa $XDG_CONFIG_HOME/irb/irbrc +as a personal initialization file. .Pp .El .Pp @@ -186,7 +197,17 @@ depends on same variables as .Sh FILES .Bl -tag -compact .It Pa ~/.irbrc -Personal irb initialization. +Personal irb initialization. If +.Ev IRBRC +is set, read +.Pa $IRBRC +instead. If +.Ev IRBRC +is not set and +.Ev XDG_CONFIG_HOME +is set, +.Pa $XDG_CONFIG_HOME/irb/irbrc +is loaded. .Pp .El .Pp |