Skip to content

Commit

Permalink
fix: mask completions
Browse files Browse the repository at this point in the history
  • Loading branch information
1adept committed Jul 2, 2024
2 parents 7694c82 + d6a8995 commit 08f677b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions custom-completions/mask/mask-completions.nu
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,7 @@ def "nu-complete mask args" [context: string, offset: int] {
$rt
}

export def main [
export extern "mask" [
recipes?: string@"nu-complete mask recipes"
...args: any@"nu-complete mask args"
] {
if ($recipes | is-empty) {
^mask --help
} else {
^mask $recipes $args
}
}
]

0 comments on commit 08f677b

Please sign in to comment.