zsh-workers
 help / color / mirror / code / Atom feed
From: Tom Dillard <tom.dillard@santera.com>
To: zsh-workers@sunsite.auc.dk
Subject: built-in problem?
Date: Tue, 19 Oct 1999 08:21:27 -0500	[thread overview]
Message-ID: <380C7057.2A5DC680@santera.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1553 bytes --]

I appologize for sending to this email list.  I tried the
zsh-users@sunsite.auc.dk
one but it seems to be defunct.

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

[-- Attachment #2: Card for Tom Dillard --]
[-- Type: text/x-vcard, Size: 309 bytes --]

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

                 reply	other threads:[~1999-10-19 13:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=380C7057.2A5DC680@santera.com \
    --to=tom.dillard@santera.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).