winure/scripts/pwsh.sh

6 lines
120 B
Bash
Executable file

#!/usr/bin/bash
cd '/mnt/c/Program Files/WindowsApps/'
target=`find Microsoft.PowerShell* -name 'pwsh.exe'`
"$target"