zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: pws@ifh.de (Peter Stephenson)
Cc: zsh-workers@math.gatech.edu
Subject: Re: bug with empty path
Date: Wed, 4 Dec 1996 21:59:41 +0100 (MET)	[thread overview]
Message-ID: <199612042059.VAA04768@bolyai.cs.elte.hu> (raw)
In-Reply-To: <199612040900.KAA20985@sgi.ifh.de> from Peter Stephenson at "Dec 4, 96 10:00:21 am"

Peter Stephenson wrote:
> I see the point, but do you really want to try and explain this to the
> average user?  ``The PATH is sometimes empty, and sometimes really empty,
> but only if you set it as an array; if it looks empty, it may be empty
> or really empty; if it's empty but not really empty it pretends to be
> set to the current directory...''

I tell the user that path is an array and the real thing is the path
variable.  PATH just tries to represent is as a scalar for compatibility
reasons.

> Still, there's some confusion in having both $path and $PATH which is
> probably unavoidable, so I can live with it.

When zsh is called as sh, there is no path just PATH.

And if we modify the behaviour of path we should also modify the other
variables: mailpath, fpath, module_path or any other array/scalar pairs.
But that would just remove functionality with cost of addig extra code.

Zoltan


      reply	other threads:[~1996-12-04 21:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-25 14:33 Peter Stephenson
1996-12-03 16:57 ` Zoltan Hidvegi
1996-12-04  9:00   ` Peter Stephenson
1996-12-04 20:59     ` Zoltan Hidvegi [this message]

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=199612042059.VAA04768@bolyai.cs.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=pws@ifh.de \
    --cc=zsh-workers@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).