Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATH handling broken in zsh 3.1.4
- X-seq: zsh-workers 4261
- From: "Zefram" <zefram@xxxxxxxxx>
- To: stucki@xxxxxxxxxxxxxxxxx
- Subject: Re: PATH handling broken in zsh 3.1.4
- Date: Tue, 4 Aug 1998 16:20:00 +0100 (BST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author