Steps to reproduce
Put in your PS profile
Create a script ./foo.ps1 and chmod +x on it
#!/usr/local/bin/powershell
Write-Host 'foo'
From bash call ./foo.ps1
Expected behavior
Should not load profile
Reason: that's how bash handles it
Actual behavior
Load profile
ash-3.2$ ./foo.ps1
PROFILE
foo
Environment data
v0.4.0
Steps to reproduce
Put in your PS profile
Create a script
./foo.ps1andchmod +xon itFrom bash call
./foo.ps1Expected behavior
Should not load profile
Reason: that's how bash handles it
Actual behavior
Load profile
Environment data
v0.4.0