Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _canonical_path not working on *BSD
- X-seq: zsh-workers 24772
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: _canonical_path not working on *BSD
- Date: Fri, 28 Mar 2008 10:01:03 +0000
- In-reply-to: <080327180141.ZM18634@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080326114413.80713vrmznwpnyuc@xxxxxxxxxxxxxxx> <080326083638.ZM16858@xxxxxxxxxxxxxxxxxxxxxx> <200803261540.m2QFeJmm017381@xxxxxxxxxxxxxx> <200803261604.m2QG41Ke017772@xxxxxxxxxxxxxx> <200803261621.m2QGLptV017966@xxxxxxxxxxxxxx> <20080326173824.0a55c00d@xxxxxxxxxxxxxxxxxxxxxx> <20080326164615.1d5893ed@news01> <20080327102325.55808716@news01> <080327083911.ZM18427@xxxxxxxxxxxxxxxxxxxxxx> <200803271806.m2RI6YG5012058@xxxxxxxxxxxxxx> <080327180141.ZM18634@xxxxxxxxxxxxxxxxxxxxxx>
Bart Schaefer wrote:
> On Mar 27, 6:06pm, Peter Stephenson wrote:
> }
> } Bart Schaefer wrote:
> } > Why do we even need the zstat if we're doing $(cd ...; pwd) ?
> }
> } If the last segment is a directory we don't.
>
> When is a mount point *not* a directory?
_canonical_paths isn't tied to mount points, although it's just used for
those at the moment.
I've committed the change and also an initial release note for 4.3.6:
Index: Etc/relnotes_4.3.6.txt
===================================================================
RCS file: Etc/relnotes_4.3.6.txt
diff -N Etc/relnotes_4.3.6.txt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ Etc/relnotes_4.3.6.txt 28 Mar 2008 09:59:08 -0000 1.1
@@ -0,0 +1,19 @@
+Version 4.3.6 contains mostly bugfixes, but there are some small
+improvements. No incompatibilities with previous versions are known.
+
+Visible changes in the shell and its modules since 4.3.5 include the
+following:
+
+The parameter subscripting flag "e", which existed but had limited
+usefulness, has been extended to allow reverse matching of strings instead
+of patterns. For example, "${array[(ie)*]}" substitutes the index of the
+array element that contains the exact string "*". In previous versions of
+the shell a fairly hairy process was necessary to ensure pattern characters
+were quoted.
+
+The cd, chdir, pushd and popd builtins now take the option -q (quiet) which
+avoids side effects when changing directories, suppressing the effect of
+the chpwd function, the chpwd_functions array and printing of the directory
+stack. The last was already possible with the option PUSHD_SILENT, but in
+previous versions of the shell there was no easy way of suppressing the
+other side effects.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author