winure/man/env-share.1

31 lines
642 B
Groff
Raw Normal View History

2024-07-08 10:12:46 -04:00
.Dd $Mdocdate$
.Dt ENV-SHARE 1
2024-08-19 09:33:11 -04:00
.Os WSL
2024-07-08 10:12:46 -04:00
.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.
2024-07-08 10:12:46 -04:00
.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