From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.mira.net.au (8.6.12/8.6.9) with SMTP id MAA25285 for ; Sun, 10 Sep 1995 12:26:01 +1000 Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA28591 (5.65c/Gatech-10.0-IDA for ); Sat, 9 Sep 1995 22:26:41 -0400 Received: by math (5.x/SMI-SVR4) id AA04125; Sat, 9 Sep 1995 22:20:51 -0400 Old-Return-Path: Resent-Date: Sat, 9 Sep 95 22:21:33 -0400 Old-Return-Path: Message-Id: <9509100221.AA10461@charisma.capitalist.princeton.edu> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) From: "Timothy J. Luoma" Date: Sat, 9 Sep 95 22:21:33 -0400 To: zsh-users@math.gatech.edu Subject: checking if in interactive shell Reply-To: luomat@cedman.remote.Princeton.EDU X-Hey-You-Know-What: capitalist and cedman.remote are the same machine Resent-Message-Id: <"z0Yg-3.0.801.ujaKm"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/82 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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."