opendoas

my fork of doas with custom prompt
git clone git://git.kocotian.pl/opendoas.git
Log | Files | Refs | README | LICENSE

commit 78ab134cc3541d3dc9ad55044cbad5c0c8539147
parent 55adb00203fcb35df767868a02d6bcaea86092f5
Author: tedu <tedu>
Date:   Mon, 17 Jun 2019 18:44:44 +0000

mention environment resetting here as well. ok millert

Diffstat:
Mdoas.1 | 17+++++++++++++++++
1 file changed, 17 insertions(+), 0 deletions(-)

diff --git a/doas.1 b/doas.1 @@ -39,6 +39,23 @@ or .Fl s is specified. .Pp +By default, the environment is reset. +The variables +.Ev HOME , +.Ev LOGNAME , +.Ev PATH , +.Ev SHELL , +and +.Ev USER +are set to values appropriate for the target user. +The variables +.Ev DISPLAY +and +.Ev TERM +are inherited from the current environment. +This behavior may be modified by the config file. +The working directory is not changed. +.Pp The options are as follows: .Bl -tag -width tenletters .It Fl C Ar config