I can't type the letter "e" in the python3 shell

Viewed 65

This is a weird one. Whenever I enter the python3 shell (doesn't happen in python [2]) and type "e" it immediately replaces that character with "HI THERE". For example, if I try to type "exit()" it turns into "HI THERExit()".

Here's what happens when I type python3<CR>exit() in my default shell (zsh).

% python3
>>> HI THERExit()

And I just discovered this same behavior happens when I invoke the bash shell.

% bash
bash-3.2$ HI THERExit

I have no idea where the problem could be. Bash/zsh settings? Vim command mode remap? Some kind of python3 alias or auto expansion? Please give me some places to check, or a strategy to find it (e.g. grep folder XYZ). A "HI THERE" test string seems like something I would have set up at some point but I have no recollection of it.

1 Answers

Thank you to all who offered ideas. And a big thanks to @chepner who suggested ~/.inputrc, the first line of which was echo "HI THERE". Case closed.

Related