Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: BUG: Zsh crashes
On Sat, 14 Jan 2017 02:48:33 +0000
Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> This uses the _rust from omz but nothing else from it.
The following completer is enough:
#compdef rustc
_rustc_pretty_types=(
'flowgraph=[graphviz formatted flowgraph for node]:NODEID:'
)
_arguments -s : \
--pretty='[Pretty-print the input instead of compiling]::TYPE:_values "TYPES" "$_rustc_pretty_types[@]"'
Removing the "=" after flowgraph stops it ("it" includes any reports of
errors in mem.c, of course). So this points at something to do with how
_values handles values.
Further intelligent suggestions?
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author