Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: file completion of ~user/... stats wrong directory



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