ZSH aguarde a entrada do usuário
# delete -q if its not (y/n [n])
read -q VARIN\?"PROMPT_MSG"
read -q "VARIN?PROMPT_MSG"
#both style works, I prefer the first
echo $VARIN # for test
Blue Badger