zsh wait for user input code example
Example: 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
# 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