lix/src
Alois Wohlschlager 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
..
asan-options tree-wide: add support for asan! 2024-07-31 14:13:39 -07:00
build-remote tree-wide: shuffle headers around for about 30s compile time 2024-08-28 09:55:05 -07:00
libcmd tree-wide: shuffle headers around for about 30s compile time 2024-08-28 09:55:05 -07:00
libexpr repl-overlays: Provide an elaborate example 2024-09-01 15:30:58 -07:00
libfetchers libfetchers: serialise accept-flake-config properly 2024-09-02 18:50:15 +02:00
libmain fish-completion: leave the shell prompt intact 2024-09-11 19:03:11 +02:00
libstore Merge changes If8ec210f,I6e2851b2 into main 2024-09-09 16:14:23 +00:00
libutil Merge "Add getCwd" into main 2024-09-10 00:10:40 +00:00
lix-doc rowan: 0.15.15 -> 0.15.16 2024-08-26 11:34:43 -07:00
nix Merge "Stop the logger in legacy commands again" into main 2024-09-06 17:07:16 +00:00
nix-build tree-wide: unify progress bar inactive and paused states 2024-07-01 18:19:34 +02:00
nix-channel util.{hh,cc}: Split out users.{hh,cc} 2024-05-29 11:01:34 +02:00
nix-collect-garbage Fix dry-run flag for nix-collect-garbage 2024-07-09 13:55:05 +00:00
nix-copy-closure
nix-env fix: check if it is a Real terminal, not just if it is a terminal 2024-08-10 16:07:21 -07:00
nix-instantiate libexpr: pass Exprs as references, not pointers 2024-06-17 19:46:44 +00:00
nix-store tree-wide: shuffle headers around for about 30s compile time 2024-08-28 09:55:05 -07:00
pch tree-wide: shuffle headers around for about 30s compile time 2024-08-28 09:55:05 -07:00
lix-base.pc.in packaging: rename nixexpr -> lixexpr and so on 2024-05-23 16:45:23 -06:00
meson.build lix-doc: move under src/ 2024-08-20 13:38:46 -06:00