diff options
author | Kouhei Yanagita <[email protected]> | 2024-11-19 22:13:12 +0900 |
---|---|---|
committer | git <[email protected]> | 2024-11-19 13:13:20 +0000 |
commit | edf5a738a36fccd07ea79d825bda0f8bd56224a2 (patch) | |
tree | 2f8490afbe48fc28d9e9b0da981e04af5ccf0604 /man | |
parent | dd473cec29a9bb98705f9782c747264a88bc14f0 (diff) |
[ruby/irb] Complete the missing documentation abount the environment
variables
(https://github.com/ruby/irb/pull/1028)
https://github.com/ruby/irb/commit/68f5cf0535
Diffstat (limited to 'man')
-rw-r--r-- | man/irb.1 | 37 |
1 files changed, 35 insertions, 2 deletions
@@ -180,7 +180,7 @@ The default value is 16. .El .Pp .Sh ENVIRONMENT -.Bl -tag -compact -width "XDG_CONFIG_HOME" +.Bl -tag -compact -width "IRB_USE_AUTOCOMPLETE" .It Ev IRB_LANG The locale used for .Nm . @@ -190,10 +190,43 @@ The path to the personal initialization file. .Pp .It Ev XDG_CONFIG_HOME .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 as a personal initialization file. .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 .Pp Also |