Ian Chamberlain
67f07e05df
Attribute names containing special characters like @ or . need to be
quoted, so we need to do our own tokenization of the command line for
completion, and quote the attribute names when we provide the completion.
Fixes: #450
Change-Id: I55a30dd272880c89445d9ded49b3f2c90cb19326
409 B
409 B
synopsis | cls | credits | category | ||
---|---|---|---|---|---|
`nix repl` correctly tab-completes attribute names that require quotes |
|
|
Improvements |
The REPL (nix repl
) now includes quotes as part of attribute names while completing with <TAB>
,
if necessary. For example, attribute names like "hello@example.com"
or "hello world"
would
be suggested without quotes, resulting in invalid syntax.