Files
lix/tests/functional
git@71rd.net 20d50b049d libutil/args: dont crash completion when receiving incorrect number of arguments
When using completion, the number of the word for which the shell
requests completion is provided in the environment variable
`NIX_GET_COMPLETIONS`. When the number smaller than 1 is or larger
than the number of arguments nix coredumps as a assert is violated.

This change removes the assert and instead throws an exception informing
the user that their autocomplete is most likely misconfigured.

Change-Id: I821719e470e576b6f63c06beb097338b53d183e0
2025-05-27 14:36:51 +00:00
..
2025-03-07 07:45:08 -05:00
2024-10-05 16:21:19 +00:00
2023-12-01 12:06:43 -05:00
2024-03-29 22:57:40 -07:00
2024-03-29 22:57:40 -07:00
2024-05-06 18:56:40 +02:00
2025-05-20 13:27:04 +02:00
2024-03-29 22:57:40 -07:00
2024-03-29 22:57:40 -07:00
2025-05-20 13:27:04 +02:00
2024-03-29 22:57:40 -07:00
2025-05-20 13:27:04 +02:00
2025-03-07 07:45:08 -05:00
2024-03-29 22:57:40 -07:00
2024-08-17 15:48:10 +00:00
2024-05-28 04:20:00 +00:00