Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
checking if in interactive shell
- X-seq: zsh-users 82
- From: "Timothy J. Luoma" <luomat@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: checking if in interactive shell
- Date: Sat, 9 Sep 95 22:21:33 -0400
- Reply-to: luomat@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Ok, in csh I'd check for interactive shell via this:
if( ${?prompt} ) then
(do stuff)
endif
how do I do this in zsh?
Thanks!
TjL
---
Timothy J. Luoma luomat@xxxxxxxxxxxxxxxxxxxxxxxx
NeXT 3.2 m68k Another convert to the Z-Shell
MIME & NeXTMail OK but remember I'm using PPP, so big email = trouble
"If I understood the man page, I wouldn't have asked the question."
Messages sorted by:
Reverse Date,
Date,
Thread,
Author