Just as the current Windows PowerShell File Explorer context-menu integration (with Shift-right-click) is broken with paths with embedded ' chars. , as described here, so is PowerShell Core's.
The following two lines must be revised in accordance with the linked instructions:
|
<RegistryValue Type="string" Value="[$(var.ProductDirectoryName)]pwsh.exe -NoExit -Command Set-Location -LiteralPath '%V'"/> |
|
<RegistryValue Type="string" Value="[$(var.ProductDirectoryName)]pwsh.exe -NoExit -Command Set-Location -LiteralPath '%V'"/> |
Environment data
PowerShell Core v6.1.0-preview.1