Use Cmder with Bash on Ubuntu on Windows 10

neiya picture neiya · Oct 5, 2016 · Viewed 9.4k times · Source

I am new to bash and commandline, a friend adviced me to use Bash with Cmder so I downloaded it here : http://cmder.net/ (mini)

The problem is, that when I open it it emulates the standard command prompt and not Bash. I can't find where I can configure it.

When I say Bash I mean Bash on Ubuntu on Windows 10.

Answer

Seanny_Crow picture Seanny_Crow · May 9, 2017

Here's how I did it:

in Settings, Tasks I added a "bash::ubuntu" task which I launch with :

%windir%\system32\bash.exe -cur_console:pm:/mnt

(paste it in the big box in the lower right corner)

I even set up its icon with :

-icon "%USERPROFILE%\AppData\Local\lxss\bash.ico"

(paste it in "Task parameter".)

And it works like a charm, I even set up a personnalised palette locked to bash::ubuntu (using Ap Distinct) that looks like the purple terminal from ubuntu.

BTW the latest version of ConEmu has already bash.exe setup under Bash::bash.

Here's how it looks for me