zsh-workers
 help / color / mirror / code / Atom feed
From: "Zefram" <zefram@tao.co.uk>
To: stucki@math.fu-berlin.de
Cc: zsh-workers@math.gatech.edu
Subject: Re: PATH handling broken in zsh 3.1.4
Date: Tue, 4 Aug 1998 16:20:00 +0100 (BST)	[thread overview]
Message-ID: <199808041520.QAA25207@diamond.tao.co.uk> (raw)
In-Reply-To: <Pine.GSO.3.95q.980804161859.8775k-100000@petzval> from "C. v. Stuckrad" at Aug 4, 98 04:21:23 pm

C. v. Stuckrad wrote:
>I just noticed, that zsh *ignores* empty fields in
>'path' (created via 'PATH') instead of implying a 'dot'.

No it doesn't.  It treats the entries as meaning the current directory.

>'csh' does: setenv PATH bla:
>            echo $path
>            bla .

zsh doesn't actually translate "" -> "." when setting the path, however.

>'zsh' ignores the trailing colon, and even drops colons when using
>'vared PATH' on a Path containig empty fields. Like:
>'export PATH=bla::bla'; vared path

vared on an array variable is a lossy process.  Try "vared PATH" instead.

-zefram


  reply	other threads:[~1998-08-04 15:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-04 14:21 C. v. Stuckrad
1998-08-04 15:20 ` Zefram [this message]
1998-08-04 15:37   ` Stucki
1998-08-04 15:44     ` Zefram

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=199808041520.QAA25207@diamond.tao.co.uk \
    --to=zefram@tao.co.uk \
    --cc=stucki@math.fu-berlin.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).