aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@atuin.sh>2026-02-12 15:28:18 -0800
committerGitHub <noreply@github.com>2026-02-12 15:28:18 -0800
commit041737f300e553532fa68814b2af28b69f790dac (patch)
tree186158cdfca54c8aa843791e545b378dfdf2f1a8
parentfix: systemd Exec for separate server binary (#3176) (diff)
downloadatuin-041737f300e553532fa68814b2af28b69f790dac.zip
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
-rw-r--r--crates/atuin/src/shell/atuin.fish2
1 files changed, 1 insertions, 1 deletions
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"