I can hide what is written in a terminal with bash with
stty -echo
This is however not working for zsh: running this command does not change the output of
stty -a
What is the equivalent command of stty -echo
for zsh?
sttyzsh
I can hide what is written in a terminal with bash with
stty -echo
This is however not working for zsh: running this command does not change the output of
stty -a
What is the equivalent command of stty -echo
for zsh?
Best Answer
I think
zsh
resets the terminal when returning to the prompt. Which is actually really useful since it prevents you from getting stuck in the prompt with a broken terminal and having to cast strange incantations to restore sanity.According to a mailing list discussion, you can make it not do that at the expense of disabling line editing completely with
unsetopt ZLE
.