From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8700 invoked from network); 19 Oct 1999 12:56:40 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 19 Oct 1999 12:56:40 -0000 Received: (qmail 14070 invoked by alias); 19 Oct 1999 12:56:07 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2689 Received: (qmail 14062 invoked from network); 19 Oct 1999 12:56:07 -0000 Message-ID: <380C6B24.D0ECC616@santera.com> Date: Tue, 19 Oct 1999 07:59:16 -0500 From: Tom Dillard Organization: Santera Systems, Inc. X-Mailer: Mozilla 4.61 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: zsh-users@sunsite.auc.dk Subject: help with built-ins? Content-Type: multipart/mixed; boundary="------------126A785C21BC42872E6CB49B" This is a multi-part message in MIME format. --------------126A785C21BC42872E6CB49B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have a problem with zsh in that it gives me an error when it is invoked by some interactive tool, for example. Here is the output I see when, for example, I run an interactive shell for a relational database tool (don't get too hung up on what I'm running, I see it on other things as well; this just happens to be the most recent): % ttIsql .zshrc /export/home/tdillard/.zshrc[16]: syntax error: `(' unexpected ... Here is the first few lines of my .zshrc file. The offending line 16 is the "cdpath" line. #!/usr/local/bin/zsh # # $Id: zshrc,v 2.0 1996/05/02 22:57:04 hzoli Exp $ # # Generic .zshrc file for zsh 2.7 # # .zshrc is sourced in interactive shells. It # should contain commands to set up aliases, functions, # options, key bindings, etc. # echo ".zshrc" # # Search path for the cd command # cdpath=(. $HOME) # Use hard limits, except for a smaller stack and no core dumps unlimit limit stack 8192 #limit core 0 #limit -s ... I just re-installed zsh 3.1.6 and did the normal install. It seems to me that the built-ins, such as cdpath, are for some reason not recognized when the .zshrc file gets re-run. I do not see this problem when starting up a new xterm, but it invokes .zshenv prior to .zshrc. I would really appreciate any help or insights that someone can provide to me. I realize I may not have provided enough information so just let me know what else you may want to see. Thanks in advance, Tom --------------126A785C21BC42872E6CB49B Content-Type: text/x-vcard; charset=us-ascii; name="tom.dillard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Tom Dillard Content-Disposition: attachment; filename="tom.dillard.vcf" begin:vcard n:Dillard;Tom tel;fax:972-291-2280 tel;work:972-291-2110 x-mozilla-html:FALSE url:www.santera.com org:Santera Systems, Inc adr:;;2901 Summit Avenue, Suite 100;Plano;TX;75074;United States version:2.1 email;internet:tom.dillard@santera.com title:Member of Technical Staff fn:Tom Dillard end:vcard --------------126A785C21BC42872E6CB49B--