Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _canonical_path not working on *BSD
- X-seq: zsh-workers 24767
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: _canonical_path not working on *BSD
- Date: Thu, 27 Mar 2008 18:06:34 +0000
- In-reply-to: <080327083911.ZM18427@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>
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. The function doesn't
actually say it needs to be, however. I can move the -d test to
optimise this.
> I'm beginning to think this whole exercise is a bad idea anyway. I have
> visions of sysadmins attempting to umount a misbehaving NFS server or a
> failing disk and ending up with their session frozen as zsh attempts to
> access the bad filesystem behind the scenes.
I think that's a generic problem with completing mount points, but it
would be perfectly reasonable to put the behaviour in a style.
--
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