Ruah
1
Q:

zsh wait for user input

# 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
0

New to Communities?

Join the community