Answers for "zsh wait for user input"

0

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
Posted by: Guest on September-23-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language