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

Re: PATCH: fix some syntax depending on shortloops



On Wed, 27 Jul 2011 11:11:00 +0200
Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> Shortloops isn't in _comp_options so completions can't depend on it
> being set. I discovered these two after updating my root .zshrc.

I wonder if there's some mileage in that case in explicitly turning it
off to level the playing field.  I think the only effect would be user
code that's not part of the normal system e.g. evals in zstyles would
pick this up.  Ideally this should be in a sandbox (but don't hold your
breath).

> I haven't tested _ethtool but it should be fine, it looks like it just
> had broken syntax that happened to work with shortloops set.

Yes, that just looked plain wrong.

-- 
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
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog



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