- Place the file into
$AppData\Roaming\nushell\completions\pwsh-completions.nu
- add the following line at the end of
$AppData\Roaming\nushell\config.nu
source ~/AppData/Roaming/nushell/completions/pwsh-completions.nu
- add the following line to
~/AppData/Roaming/nushell/env.nu
to execute PowerShell scripts directly:
# to execute powershell scripts