Fish
nix
completion function reliably erases/writes over the shell prompt.
I've come up with this hacky workaround for now:
cat /run/current-system/sw/share/fish/vendor_completions.d/nix.fish \
Fish
nix
completion function reliably erases/writes over the shell prompt.