[ruby/irb] Complete the missing documentation abount the environment
variables (https://github.com/ruby/irb/pull/1028) https://github.com/ruby/irb/commit/68f5cf0535
This commit is contained in:
parent
dd473cec29
commit
edf5a738a3
37
man/irb.1
37
man/irb.1
@ -180,7 +180,7 @@ The default value is 16.
|
|||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
.Sh ENVIRONMENT
|
.Sh ENVIRONMENT
|
||||||
.Bl -tag -compact -width "XDG_CONFIG_HOME"
|
.Bl -tag -compact -width "IRB_USE_AUTOCOMPLETE"
|
||||||
.It Ev IRB_LANG
|
.It Ev IRB_LANG
|
||||||
The locale used for
|
The locale used for
|
||||||
.Nm .
|
.Nm .
|
||||||
@ -190,10 +190,43 @@ The path to the personal initialization file.
|
|||||||
.Pp
|
.Pp
|
||||||
.It Ev XDG_CONFIG_HOME
|
.It Ev XDG_CONFIG_HOME
|
||||||
.Nm
|
.Nm
|
||||||
respects XDG_CONFIG_HOME. If this is set, load
|
respects XDG_CONFIG_HOME. If it is set and
|
||||||
|
.Ev IRBRC
|
||||||
|
is unset, load
|
||||||
.Pa $XDG_CONFIG_HOME/irb/irbrc
|
.Pa $XDG_CONFIG_HOME/irb/irbrc
|
||||||
as a personal initialization file.
|
as a personal initialization file.
|
||||||
.Pp
|
.Pp
|
||||||
|
.It Ev RI_PAGER
|
||||||
|
The command specified would be used as a pager.
|
||||||
|
.Pp
|
||||||
|
.It Ev PAGER
|
||||||
|
The command specified would be used as a pager if
|
||||||
|
.Ev RI_PAGER
|
||||||
|
is unset.
|
||||||
|
.Pp
|
||||||
|
.It Ev VISUAL
|
||||||
|
Its value would be used to open files by the edit command.
|
||||||
|
.Pp
|
||||||
|
.It Ev EDITOR
|
||||||
|
Its value would be used to open files by the edit command if
|
||||||
|
.Ev VISUAL
|
||||||
|
is unset.
|
||||||
|
.Pp
|
||||||
|
.It Ev NO_COLOR
|
||||||
|
Assigning a value to it disables colorization.
|
||||||
|
.Pp
|
||||||
|
.It Ev IRB_USE_AUTOCOMPLETE
|
||||||
|
Assigning
|
||||||
|
.Sy false
|
||||||
|
to it disables autocompletion.
|
||||||
|
.Pp
|
||||||
|
.It Ev IRB_COMPLETOR
|
||||||
|
Autocompletion behavior. Allowed values are
|
||||||
|
.Sy regexp
|
||||||
|
or
|
||||||
|
.Sy type
|
||||||
|
.
|
||||||
|
.Pp
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
Also
|
Also
|
||||||
|
Loading…
x
Reference in New Issue
Block a user