60

Is it possible to configure Powershell to be conemu's default shell?

I know I can add additional "tasks" to conemu but I want it to default to use Powershell instead of cmd.exe so that, for example, when I use a plugin for an IDE that opens conemu in the current working directory, it does so with a conemu-wrapped Powershell instance.

Oliver Salzburg
  • 86,445
  • 63
  • 260
  • 306
nathanchere
  • 2,366
  • 2
  • 18
  • 23

2 Answers2

85

Assuming a "{Powershell}" task:

enter image description here

Use the Startup tab and assign Powershell under "Specified named task":

enter image description here

If you want to start in a specific directory, change the task definition like so:

Powershell with default directory

nathanchere
  • 2,366
  • 2
  • 18
  • 23
  • 1
    setting default directory as explained above does not work. Try http://superuser.com/questions/482325/change-conemus-default-start-directory instead – joniba Nov 02 '16 at 12:38
  • @joniba Correct, because powershell takes any strings as a command, so quite literally it's trying to execute `D:\MyDocs`. The poster needed to specify `-WorkingDirectory` – Maximilian Burszley Apr 02 '19 at 11:53
  • Worked for me: `powershell.exe -noexit -Command "cd c:\Users\[Name]\Desktop"` – JoyfulPanda Jan 27 '22 at 13:43
8

In recent version there seems to be a setting for this:

enter image description here

Adobe
  • 2,649
  • 2
  • 28
  • 34
  • 4
    That setting controls which task populates the ConEmu New Console dialog by default. The accepted answer is still the correct solution. – David Anderson Dec 24 '15 at 17:38