aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@gmail.com>2023-02-14 23:21:22 +0100
committerGitHub <noreply@github.com>2023-02-14 22:21:22 +0000
commit7e7dd63966cd8eae7ec61f7e419e0b72a45ff580 (patch)
tree91fb296ed2f06657a3c3c99b22e29856c0d3c28b
parentCheck before unwrapping in stats (#717) (diff)
downloadatuin-7e7dd63966cd8eae7ec61f7e419e0b72a45ff580.zip
fish: Fix `atuin init` for the fish shell (#699)
-rw-r--r--src/shell/atuin.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell/atuin.fish b/src/shell/atuin.fish
index 727d1377..de90b156 100644
--- a/src/shell/atuin.fish
+++ b/src/shell/atuin.fish
@@ -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