Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: file completion of ~user/... stats wrong directory
- X-seq: zsh-workers 27124
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: file completion of ~user/... stats wrong directory
- Date: Fri, 10 Jul 2009 15:21:32 +0100
- In-reply-to: <m31vooljj7.fsf@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <19030.11925.370937.608524@xxxxxxxxxxxxxxxxxx> <20090710100721.56b0874c@news01> <m31vooljj7.fsf@xxxxxxxxxxxxxx>
Greg Klanderman wrote:
> So do you agree it's a bug that it's stat-ing the path with the ~user/
> stripped off, effectively then relative to the current directory?
>
> So, if it needs to go through that loop at least once, then maybe when
> 'prepath' (singular) is '' it should be prepending any stuff that got
> stripped off the front back on? Guess I'll have to grovel through
> there and try to make sense of what's going on...
Certainly sounds plausible. It's odd this isn't an ever worse problem,
but _path_files has so many possibilities it's surprisingly hard to
trigger particular problems.
--
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