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
This commit is contained in:
parent
8b815e4b39
commit
15abf42984
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue