The up arrow scrolls through command history, but it doesn't work after I launch bash shell.
Asked
Active
Viewed 1.2k times
25
-
4try using `Ctrl+P` and `Ctrl+N` instead – riteshtch Apr 07 '16 at 05:17
-
2I'm not sure yet who (ConEmu of Windows) is responsible for the problem. But the issue has been created: https://github.com/Maximus5/ConEmu/issues/629 – Maximus Apr 07 '16 at 07:38
4 Answers
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.

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

sanddog
- 91
- 1
- 4
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

Comfort Eagle
- 2,112
- 2
- 22
- 44