update str substring
usage to use range parameter (#840)
This commit is contained in:
parent
188117dfae
commit
b85b603a99
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue