fish: Fix atuin init for the fish shell (#699)

This commit is contained in:
Tobias Hunger 2023-02-14 23:21:22 +01:00 committed by GitHub
parent 1f7d3a34e7
commit 7e7dd63966
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ function _atuin_postexec --on-event fish_postexec
end
function _atuin_search
set h (RUST_LOG=error atuin search $* -i -- (commandline -b) 3>&1 1>&2 2>&3)
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