0

My enter key suddenly started triggering a history-search-backward action instead of running the typed command in python and bash shells, although it still behaves correctly on my zsh (default) terminal. So far I have to use the Ctrl+j key as a workaround.

I tried running stty sane as suggested here (Pressing enter produces ^M instead of a newline) with no success and double-checked my shortcuts / bindkeys/ aliases without finding anything relevant..

Any help greatly appreciated!

1 Answers1

0

The problem was caused by my ~/.inputrc that I hadn't checked: I had accidentally mapped the return key to a history-search-backward action: removing the line in question solved the issue