30 lines
642 B
Groff
30 lines
642 B
Groff
.Dd $Mdocdate$
|
|
.Dt ENV-SHARE 1
|
|
.Os WSL
|
|
.Sh NAME
|
|
.Nm env-share
|
|
.Nd share environment variables back to Windows from WSL
|
|
.Sh SYNOPSIS
|
|
.Nm env-share
|
|
.Sh DESCRIPTION
|
|
The
|
|
.Nm
|
|
utility writes environment variables to a file to be loaded by a companion script in the target process.
|
|
.Sh ENVIRONMENT
|
|
.Bl -tag -width Ds
|
|
.It Ev ENV_SHARE_FILE
|
|
The file to write variables to.
|
|
.It Ev ENV_SHARE_VARS
|
|
A colon-separated list of variables to copy.
|
|
.El
|
|
.Sh EXIT STATUS
|
|
.Bl -tag -width Ds
|
|
.It 1
|
|
An environment variable is unset.
|
|
.It 2
|
|
Failed to write to the file at
|
|
.Ev ENV_SHARE_FILE
|
|
.El
|
|
.Sh AUTHORS
|
|
.An -nosplit
|
|
.An Valerie Wolfe Aq Mt sleeplessval@gmail.com
|