From 041737f300e553532fa68814b2af28b69f790dac Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Thu, 12 Feb 2026 15:28:18 -0800 Subject: fix: multiline commands with fish (#3179) Resolves #3169 ## Checks - [ ] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [ ] I have checked that there are no existing pull requests for the same thing --- crates/atuin/src/shell/atuin.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/atuin/src/shell/atuin.fish b/crates/atuin/src/shell/atuin.fish index a52fab4e..caad47a2 100644 --- a/crates/atuin/src/shell/atuin.fish +++ b/crates/atuin/src/shell/atuin.fish @@ -114,7 +114,7 @@ function _atuin_search set ATUIN_H (ATUIN_SHELL=fish ATUIN_LOG=error ATUIN_QUERY=(commandline -b) atuin search --keymap-mode=$keymap_mode $argv -i 3>&1 1>&2 2>&3 | string collect) end - set ATUIN_H (string trim -- $ATUIN_H) # trim whitespace + set ATUIN_H (string trim -- $ATUIN_H | string collect) # trim whitespace if test -n "$ATUIN_H" if string match --quiet '__atuin_accept__:*' "$ATUIN_H" -- cgit v1.3.1