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

Re: Annoying zsh completion



On Mon, 9 Jan 2012 13:08:13 +0200
Volodya Khomchak <kolombo.inc@xxxxxxxxx> wrote:
> Approximately month ego I started to see next annoying zsh completion 
> behavior.
> 
>   # vim /etc/rc.local
>   # zsh: correct 'vim' to '.vim' [nyae]? n

No idea where this is coming from (see what "which .vim" says), but if
you never want to complete commands beginning with a "." you can set

CORRECT_IGNORE=".*"

Indeed,

CORRECT_IGNORE=".vim"

would be good enough for this case.

-- 
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