Closed nawordar closed 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.
#!/usr/bin/env powershell
I can try to make an implementation if I have time. Thank you for this great plugin!
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!
#!/usr/bin/env pwsh
Just released new version 0.1.4, where the snippet has been added.
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!