diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2023-09-17 17:46:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-17 17:46:49 +0100 |
| commit | 15abf429842969e56598b1922a21693a7253f117 (patch) | |
| tree | 88306230d5fb0fa8efa94c99c6ced50613e07164 | |
| parent | docs: document the available format options of History list command (#1234) (diff) | |
| download | atuin-15abf429842969e56598b1922a21693a7253f117.zip | |
Fix selecting complex fish commands (#1237)
This was failing for commands that spanned multiple lines, and contained
a backslash.
Thanks to @saulrh for suggesting the fix! I just tested and pushed it.
Resolves #1211
Resolves #1232
| -rw-r--r-- | atuin/src/shell/atuin.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atuin/src/shell/atuin.fish b/atuin/src/shell/atuin.fish index de90b156..344c7d19 100644 --- a/atuin/src/shell/atuin.fish +++ b/atuin/src/shell/atuin.fish @@ -18,7 +18,7 @@ function _atuin_search set h (RUST_LOG=error atuin search $argv -i -- (commandline -b) 3>&1 1>&2 2>&3) commandline -f repaint if test -n "$h" - commandline -r $h + commandline -r "$h" end end |
