lix/misc
alois31 82aa1ccab4
fish-completion: leave the shell prompt intact
When generating shell completions, no logging output should be visible because
it would destroy the shell prompt. Originally this was attempted to be done by
simply disabling the progress bar (ca946860ce),
since the situation is particularly bad there (the screen clearing required for
the rendering ends up erasing the shell prompt). Due to overlooking the
implementation of this hack, it was accidentally undone during a later change
(0dd1d8ca1c).
Since even with the hack correctly in place, it is still possible to mess up
the prompt by logging output (for example warnings for disabled experimental
features, or messages generated by `builtins.trace`), simply send it to the bit
bucket where it belongs. This was already done for bash and zsh
(9d840758a8), and it seems that fish was simply
missed at that time. The last trace of the no-longer-working and obsolete hack
is deleted too.

Fixes: lix-project/lix#513
Change-Id: I59f1ebf90903034e2059298fa8d76bf970bc3315
2024-09-11 19:03:11 +02:00
..
bash remove the autoconf+Make buildsystem 2024-05-07 17:04:30 -06:00
fish fish-completion: leave the shell prompt intact 2024-09-11 19:03:11 +02:00
flake-registry Deprecate the online flake registries and vendor the default registry 2024-05-18 12:27:23 +10:00
launchd remove the autoconf+Make buildsystem 2024-05-07 17:04:30 -06:00
systemd Fixup a bunch of references to nixos.org manuals 2024-07-18 19:27:33 +00:00
systemv Add pre-commit checks 2024-03-29 22:57:40 -07:00
zsh remove the autoconf+Make buildsystem 2024-05-07 17:04:30 -06:00
meson.build build: remove expect as a dependency 2024-08-10 16:10:16 -07:00
pre-commit.nix De-vendor nixfmt 2024-07-22 21:09:58 +04:00
runinpty.py build: remove expect as a dependency 2024-08-10 16:10:16 -07:00