You said that you wrote case dumb in your .zshrc
. Please check if it is similar to the following construct:
if [[ "$TERM" == "dumb" ]]
then
unsetopt zle
unsetopt prompt_cr
unsetopt prompt_subst
unfunction precmd
unfunction preexec
PS1='$ '
fi
I ran into a similar issue. Adding the above block to my .zshrc
fixed the issue.
Courtesy: EmacsWiki