summaryrefslogtreecommitdiff
path: root/man/irb.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/irb.1')
-rw-r--r--man/irb.132
1 files changed, 30 insertions, 2 deletions
diff --git a/man/irb.1 b/man/irb.1
index 50db899177..93ef9b8f66 100644
--- a/man/irb.1
+++ b/man/irb.1
@@ -140,6 +140,13 @@ Use autocompletion.
Don't use autocompletion.
.Pp
.Pp
+.It Fl -regexp-completor
+Use regexp based completion.
+.Pp
+.It Fl -type-completor
+Use type based completion.
+.Pp
+.Pp
.It Fl -verbose
Show details.
.Pp
@@ -173,8 +180,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 +204,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