Rpinski / vscode-shebang-snippets

Shebang Snippets Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=rpinski.shebang-snippets
MIT License
23 stars 10 forks source link

Add support for Powershell Core #5

Closed nawordar closed 5 years ago

nawordar commented 5 years ago

I have recently started using PowerShell Core on Linux and it supports shebangs without problem. The shebang for PSC is #!/usr/bin/env powershell.

I can try to make an implementation if I have time. Thank you for this great plugin!

Rpinski commented 5 years ago

It looks like #!/usr/bin/env pwsh is the correct shebang for PowerShell Core, at least according to documentation. I will add it as new snippet!

Rpinski commented 5 years ago

Just released new version 0.1.4, where the snippet has been added.