20

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.

2 Answers 2

26

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...):

enter image description here

Or you can do it directly in the ConEmu settings, found in cmder\config\ConEmu.xml:

enter image description here

2
  • 1
    This really ought to be the default setup. Thank you for posting.
    – LexH
    Oct 24, 2018 at 22:40
  • Still necessary in 2022 Aug 18 at 17:31
1

Run for check (outside of cmder of course, from Win+R)

ConEmu.exe -basic -cmd PowerShell.exe
1
  • Yup, running ConEmu like that does load PowerShell profiles. I'm guessing this is a cmder issue.
    – Francisc
    Aug 13, 2015 at 8:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.