mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-22 16:23:54 +01:00
fish: Fix atuin init
for the fish shell (#699)
This commit is contained in:
parent
1f7d3a34e7
commit
7e7dd63966
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user