mirror of
https://github.com/atuinsh/atuin.git
synced 2024-10-05 01:33:16 +02:00
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
@ -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 New Issue
Block a user