diff --git a/lib/libedit/editline.3 b/lib/libedit/editline.3 index dc06106e859d..34b4cdcf79d6 100644 --- a/lib/libedit/editline.3 +++ b/lib/libedit/editline.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: editline.3,v 1.93 2017/04/10 15:02:40 abhinav Exp $ +.\" $NetBSD: editline.3,v 1.94 2017/06/27 01:22:58 kre Exp $ .\" .\" Copyright (c) 1997-2014 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -667,6 +667,8 @@ If is .Dv NULL , try +.Pa $EDITRC +and if that is not set .Pa $HOME/.editrc . Refer to .Xr editrc 5 diff --git a/lib/libedit/editrc.5 b/lib/libedit/editrc.5 index 723cb9e71582..fa41dbb7db79 100644 --- a/lib/libedit/editrc.5 +++ b/lib/libedit/editrc.5 @@ -1,4 +1,4 @@ -.\" $NetBSD: editrc.5,v 1.32 2016/05/22 23:54:20 christos Exp $ +.\" $NetBSD: editrc.5,v 1.33 2017/06/27 01:22:58 kre Exp $ .\" .\" Copyright (c) 1997-2000 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -293,10 +293,18 @@ then the character is set to List the values of all the terminal capabilities (see .Xr termcap 5 ) . .El +.Sh ENVIRONMENT +.Bl -tag -width "~/.editrcXXX" +.It Ev EDITRC +Names the default configuration file for the +.Xr editline 3 +library. +.El .Sh FILES .Bl -tag -width "~/.editrcXXX" .It Pa ~/.editrc -User configuration file for the +Last resort, if no other file is specified, +user configuration file for the .Xr editline 3 library. .El