1

I have just noticed a weird issue with my OpenSUSE Tumbleweed installation.

Whenever I try to type a 0 (zero) at the console prompt, it doesn't seem to be recognized.

If I launch a program from the prompt, the program recognizes the 0 key, but zsh itself doesn't seem to recognize it.

It's not a hardware problem since other applications recognize the key and zsh recognizes ), which is 0 with the Shift key held down.

This installation of OpenSUSE Tumbleweed is not running in a VM, it is running on my HP laptop.

  • Try searching for 0 in bind -p. – choroba Apr 11 '18 at 14:11
  • I get "bind: command not found". – Dave F Apr 11 '18 at 14:11
  • Oh sorry, bind is bash. :-( Use bindkey instead. – choroba Apr 11 '18 at 14:34
  • In the output I see "0" overwrite-mode. – Dave F Apr 11 '18 at 15:27
  • I think I see how this happened. My .zshrc file has the command zkbd. When I was pressing the keys as requested, I pressed the Insert key in the numeric keypad without realizing that NumLock was on. – Dave F Apr 11 '18 at 15:34
2

It turns out this happened because while responding to the prompts from the zkbd command I had pressed the Insert key in my numeric keypad without realizing that NumLock was on.

Not the answer you're looking for? Browse other questions tagged or ask your own question.