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

Re: bashcompinit: sourcing /etc/bash_completion



On Jun 10, 10:09pm, Daniel Hahler wrote:
}
} It fails with the following line:
} 
}     local cword words=()

Well, that's unfortunate.  In zsh "local" is not a special token, so the
arguments are parsed as normal shell words, so you cannot have an array
initialization as part of a "local" declaration.

There is no emulation mode or other workaround for this I can think of.



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