mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-08 09:25:33 +01:00
update str substring
usage to use range parameter (#840)
This commit is contained in:
parent
188117dfae
commit
b85b603a99
@ -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 New Issue
Block a user