diff options
| author | Ellie Huxtable <ellie@atuin.sh> | 2026-02-12 15:28:18 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-12 15:28:18 -0800 |
| commit | 041737f300e553532fa68814b2af28b69f790dac (patch) | |
| tree | 186158cdfca54c8aa843791e545b378dfdf2f1a8 /crates | |
| parent | fix: systemd Exec for separate server binary (#3176) (diff) | |
| download | atuin-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
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/atuin/src/shell/atuin.fish | 2 |
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" |
