on macOS, the PowerShell.app/Contents/MacOS/PowerShell.sh script does not invoke pwsh-preview; it incorrectly tries to invoke pwsh.