diff --git a/src/shell/atuin.nu b/src/shell/atuin.nu index c251f6b3..d76cba91 100644 --- a/src/shell/atuin.nu +++ b/src/shell/atuin.nu @@ -30,7 +30,7 @@ def _atuin_search_cmd [...flags: string] { ([ `commandline (RUST_LOG=error run-external --redirect-stderr atuin search`, ($flags | append [--interactive, --] | each {|e| $'"($e)"'}), - `(commandline) | complete | $in.stderr | str substring ',-1')`, + `(commandline) | complete | $in.stderr | str substring ..-1)`, ] | flatten | str join ' '), ] | str join "\n" }