mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 22:57:46 +00:00
fix: just completions (#491)
This commit is contained in:
parent
d2f424e605
commit
2c37b5f583
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
export def "nu-complete just recipes" [] {
|
def "nu-complete just recipes" [] {
|
||||||
^just --unstable --unsorted --dump --dump-format json
|
^just --unstable --unsorted --dump --dump-format json
|
||||||
| from json
|
| from json
|
||||||
| get recipes
|
| get recipes
|
||||||
|
@ -20,7 +20,7 @@ export def "nu-complete just recipes" [] {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export def "nu-complete just args" [context: string, offset: int] {
|
def "nu-complete just args" [context: string, offset: int] {
|
||||||
let r = ($context | split row ' ')
|
let r = ($context | split row ' ')
|
||||||
^just --unstable -u --dump --dump-format json
|
^just --unstable -u --dump --dump-format json
|
||||||
| from json
|
| from json
|
||||||
|
@ -32,7 +32,7 @@ export def "nu-complete just args" [context: string, offset: int] {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export def j [
|
export def just [
|
||||||
recipes?: string@"nu-complete just recipes"
|
recipes?: string@"nu-complete just recipes"
|
||||||
...args: any@"nu-complete just args"
|
...args: any@"nu-complete just args"
|
||||||
] {
|
] {
|
Loading…
Add table
Add a link
Reference in a new issue