feat(completion): add Nushell completions (#2966)

This commit is contained in:
Valentin Maerten
2026-08-11 20:12:17 +02:00
committed by GitHub
parent e8404ea6e0
commit 993508c782
7 changed files with 233 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ _task() {
'(-F --failfast)'{-F,--failfast}'[when running tasks in parallel, stop all tasks if one fails]'
'(-f --force)'{-f,--force}'[run even if task is up-to-date]'
'(-c --color)'{-c,--color}'[colored output]'
'(--completion)--completion[generate shell completion script]:shell:(bash zsh fish powershell)'
'(--completion)--completion[generate shell completion script]:shell:(bash zsh fish powershell nu)'
'(-d --dir)'{-d,--dir}'[dir to run in]:execution dir:_dirs'
'(--disable-fuzzy)--disable-fuzzy[disable fuzzy matching for task names]'
'(-n --dry)'{-n,--dry}'[compiles and prints tasks without executing]'