K
K
Killery9992020-03-29 16:19:25
linux
Killery999, 2020-03-29 16:19:25

Why doesn't enter work in zsh shell in linux mint MATE distribution?

On a clean install of Linux Mint, I installed zsh and oh-my-zsh, the default configs, when switching from bash to zsh, enter does not work, and it is in no way possible to execute commands without returning to bash. Help fix.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Vishnikin, 2020-04-05
@IlyaVishnikin

try putting this code in ~/.zshrc

# Keypad
# 0 . Enter
bindkey -s "^[Op" "0"
bindkey -s "^[Ol" "."
bindkey -s "^[OM" "^M"
# 1 2 3
bindkey -s "^[Oq" "1"
bindkey -s "^[Or" "2"
bindkey -s "^[Os" "3"
# 4 5 6
bindkey -s "^[Ot" "4"
bindkey -s "^[Ou" "5"
bindkey -s "^[Ov" "6"
# 7 8 9
bindkey -s "^[Ow" "7"
bindkey -s "^[Ox" "8"
bindkey -s "^[Oy" "9"
# + -  * /
bindkey -s "^[Ok" "+"
bindkey -s "^[Om" "-"
bindkey -s "^[Oj" "*"
bindkey -s "^[Oo" "/"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question