From: "Timothy J. Luoma" <luomat@cedman.remote.Princeton.EDU>
To: zsh-users@math.gatech.edu
Subject: checking if in interactive shell
Date: Sat, 9 Sep 95 22:21:33 -0400 [thread overview]
Message-ID: <9509100221.AA10461@charisma.capitalist.princeton.edu> (raw)
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@capitalist.princeton.edu
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."
next reply other threads:[~1995-09-10 2:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-09-10 2:21 Timothy J. Luoma [this message]
1995-09-10 2:34 Laurent Wacrenier
1995-09-10 5:45 ` Chris P. Ross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9509100221.AA10461@charisma.capitalist.princeton.edu \
--to=luomat@cedman.remote.princeton.edu \
--cc=zsh-users@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).