Include EDITRC in doc.

This commit is contained in:
kre 2017-06-27 01:22:58 +00:00
parent 80ba09ce07
commit 00f36e26a6
2 changed files with 13 additions and 3 deletions

View File

@ -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

View File

@ -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