man: updated mkwin and wt manuals

This commit is contained in:
Valerie Wolfe 2024-08-19 15:09:46 -04:00
parent 1baac5aee9
commit ef547b7be1
3 changed files with 6 additions and 6 deletions

View file

@ -1,8 +1,8 @@
# Winure: WSL inurement tools # Winure: WSL inurement tools
These are tools I use to use Windows primarily through WSL. A lot of them These are tools I use to use Windows primarily through WSL. Many are
assume you have PowerShell somewhere in your `PATH` as "`pwsh`". cross-dependent.
## `dos-var` ## `dos-var`

View file

@ -56,11 +56,11 @@ Windows Explorer does not accept paths with spaces when executed from WSL. To ge
.Pp .Pp
Windows Terminal's executable moves when updated. To generate a script to launch Windows Terminal: Windows Terminal's executable moves when updated. To generate a script to launch Windows Terminal:
.Pp .Pp
.Dl $ mkwin --empty --find='/mnt/c/Program Files/WindowsApps/Microsoft.WindowsTerminal*' WindowsTerminal.exe > terminal.sh .Dl $ mkwin --empty --find='/mnt/c/Program Files/WindowsApps/Microsoft.WindowsTerminal*' WindowsTerminal.exe > wt.sh
.Pp .Pp
PowerShell doesn't inherit environment variables from WSL. To generate a script to call PowerShell with shared variables: PowerShell has two versions (Core is user-installed) and doesn't inherit environment variables from WSL. To generate a script to call PowerShell Core with a fallback to Windows PowerShell and shared environment variables:
.Pp .Pp
.Dl $ mkwin -E '/mnt/c/Program Files/PowerShell/7/pwsh.exe' .Dl $ mkwin -E '/mnt/c/Program Files/PowerShell/7/pwsh.exe' --or '/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe'
.Pp .Pp
.Sh SEE ALSO .Sh SEE ALSO
.Xr env-share 1 , .Xr env-share 1 ,

View file

@ -3,7 +3,7 @@
.Os MICROSOFT WINDOWS .Os MICROSOFT WINDOWS
.Sh NAME .Sh NAME
.Nm wt .Nm wt
launch Windows Terminal from WSL. .Nd Windows Terminal
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl hv .Op Fl hv