Cmder PowerShell ignores profiles
I have some aliases set in Current User, Current Host
and Current User, All Hosts
.
Starting PowerShell (i.e. outside of Cmder) loads those profiles and so aliases are available.
Starting PowerShell inside Cmder ignores those profiles.
Is there anyway to make Cmder PowerShell sessions to read either of those two profiles?
Thanks.
The issue is that Cmder comes out of the box with the PowerShell tasks configured with the -NoProfile
option. You can fix this through the gui (this shows I've already removed it...):
Or you can do it directly in the ConEmu settings, found in cmder\config\ConEmu.xml
:
Run for check (outside of cmder of course, from Win+R
)
ConEmu.exe -basic -cmd PowerShell.exe