mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-02 07:07:46 +00:00
Rename range
to slice
(#1014)
Followup for https://github.com/nushell/nushell/pull/14825
This commit is contained in:
parent
1f6ee6c86d
commit
fd686c0b0c
12 changed files with 29 additions and 29 deletions
|
@ -7,7 +7,7 @@ export def 'from tree' [
|
|||
let argv = $ctx.0
|
||||
| str substring 0..$ctx.1
|
||||
| split row -r '\s+'
|
||||
| range $cmd_len..
|
||||
| slice $cmd_len..
|
||||
| where not ($it | str starts-with '-')
|
||||
let menu = $argv
|
||||
| reduce -f {schema: $schema, path: []} {|x, acc|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue