Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
prompting
- X-seq: zsh-users 6413
- From: Skye Poier <skye@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: prompting
- Date: Fri, 25 Jul 2003 17:17:34 -0700
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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