25

The up arrow scrolls through command history, but it doesn't work after I launch bash shell.

Mark Lu
  • 1,348
  • 1
  • 15
  • 19

4 Answers4

17

Solution for now is to use next command:

%windir%\system32\bash.exe -cur_console:p

It can be found here on official site.

Worked for me on Cmder as well.

5

Also, here is a config for Cmder to lunch bash.exe with config given by Kostiantyn Korniyenko just in case.

enter image description here

sanddog
  • 91
  • 1
  • 4
1

Reading through the discussions here. I settled with following value that worked for me

%windir%\system32\bash.exe ~/mnt/ -l -i -cur_console:p1 -new_console:p:n

irsis
  • 952
  • 1
  • 13
  • 33
0

Set a switch for -cur_console:p[n] where n is the pty mode:

p[N] - pty modes, N - bitmask: 1 - XTermKeys, 2 - BrPaste, 4 - AppCursorKeys; default is 1

from https://conemu.github.io/en/NewConsole.html

Comfort Eagle
  • 2,112
  • 2
  • 22
  • 44