mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-12 05:15:24 +08:00

When this switched over from directly piping commandline to storing its output and using printf, I inadvertently always added a trailing newline. That's probably annoying. Note that this will now always *remove* a trailing newline (because the command substitution does). That will barely make a difference (because trailing newlines are quite unusual in the commandline) and will probably feel better than keeping it - we could even make a point of removing trailing whitespace in general. Fixes #6927