Use Cmder with Bash on Ubuntu on Windows 10
Support for the new Windows 10 bash shell is a closed issue now.
Setting could be done this way:
You make a new task called Bash::Ubuntu
Task parameters:
/icon "%USERPROFILE%\AppData\Local\lxss\bash.ico"
Commands:
cmd /k "%SYSTEMROOT%\System32\bash.exe" -new_console:d:%USERPROFILE%
Then you make a new task called Bash::Ubuntu as Admin
Task parameters same as before Commands:
*cmd /k "%SYSTEMROOT%\System32\bash.exe" -new_console:d:%USERPROFILE%
2018/7/2 no extra setting need with the latest version of Cmder(v1.3.6)
and Win10(17134)
with WSL(Windows subsystem Linux)
.
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.