mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 14:47:47 +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
|
||||
| from json
|
||||
| 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 ' ')
|
||||
^just --unstable -u --dump --dump-format 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"
|
||||
...args: any@"nu-complete just args"
|
||||
] {
|
Loading…
Add table
Add a link
Reference in a new issue