-
Notifications
You must be signed in to change notification settings - Fork 8.3k
#!/usr/local/bin/powershell bang should not load profile #992
Copy link
Copy link
Closed
Labels
Committee-ReviewedPS-Committee has reviewed this and made a decisionPS-Committee has reviewed this and made a decisionIssue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugOS-LinuxResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreUsability(LEGACY) Helps filter issues that might be higher priority because they directly affect usability(LEGACY) Helps filter issues that might be higher priority because they directly affect usabilityWG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime
Metadata
Metadata
Assignees
Labels
Committee-ReviewedPS-Committee has reviewed this and made a decisionPS-Committee has reviewed this and made a decisionIssue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugOS-LinuxResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreUsability(LEGACY) Helps filter issues that might be higher priority because they directly affect usability(LEGACY) Helps filter issues that might be higher priority because they directly affect usabilityWG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime
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