mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/irb] Add description of IRB_LANG, IRBRC, and XDG_CONFIG_HOME to man
https://github.com/ruby/irb/commit/564bd91387
This commit is contained in:
parent
d880322243
commit
107acbd9a4
1 changed files with 23 additions and 2 deletions
25
man/irb.1
25
man/irb.1
|
@ -173,8 +173,19 @@ The default value is 16.
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
.Sh ENVIRONMENT
|
.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
|
.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
|
.Pp
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
|
@ -186,7 +197,17 @@ depends on same variables as
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -compact
|
.Bl -tag -compact
|
||||||
.It Pa ~/.irbrc
|
.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
|
.Pp
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
|
|
Loading…
Reference in a new issue