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

Re: Force file completion when hitting TAB twice



"Yuri D'Elia" wrote:
> Very nice! But I still cannot complete with _files in some contextes.
> 
> Just to let you understand: sometimes some completion widgets try to be
> smart and don't allow to complete all files. Mostly, these are bugs
> in the completion widget. I try to track down the problem usually, but
> it happened to me too many times in the past. I don't always have
> the time, I simply want to 'get on' and debug later.
> 
> The 'git' completion is such and example of recurring headache.
> 
> git status [TAB TAB] still doesn't offer me a list of files with this
> code (others, like ssh, do).

I suppose some of these aren't returning a status indicating they've
failed.  You're right, of course, that if so it's a bug but it's also a
pain to track down (since most people wouldn't notice if they don't
expect anything else to be completed there).  This sounds rather hard to
track down *completely* automatically.

-- 
Peter Stephenson <pws@xxxxxxx>            Software Engineer
Tel: +44 (0)1223 692070                   Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK


Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom



Messages sorted by: Reverse Date, Date, Thread, Author