Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

prompting



Second zsh question..
What would be [a|the best] way to do a y/n prompt in a zsh function?
Single keypress would be best of course, but y<cr> is ok too

print -n "Are you sure you want to do that? [y/n] "
then??

Thanks!
Skye



Messages sorted by: Reverse Date, Date, Thread, Author