change -l to explicitly load user profile
This commit is contained in:
parent
f2888e9eb6
commit
2d8a15af28
|
@ -745,7 +745,7 @@ namespace Microsoft.PowerShell
|
|||
}
|
||||
else if (MatchSwitch(switchKey, "loadprofile", "l"))
|
||||
{
|
||||
// do nothing as we load profile by default, but this is needed to be compatible with POSIX shell expectations
|
||||
_skipUserInit = false;
|
||||
}
|
||||
else if (MatchSwitch(switchKey, "noprofile", "nop"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue