1
0
mirror of https://github.com/go-task/task.git synced 2025-01-12 04:34:11 +02:00
task/completion
Phil Pennock a06e46885d completion: zsh: overhaul and sync to current flags
* List all current option flags
* Provide descriptions for every flag
* Pass the `task -l` descriptions as descriptions for the task completions
  + The prior logic had 4 invocations of sed and 1 of awk, and only kept the
    task name
  + Do all filtering in zsh without forking (except for `task` itself)
* When `--taskfile` is used, complete tasks from _that_ file
  + And otherwise, enable completions if only the `.dist` variant files are
    present
* Ensure mutually exclusive options preclude each other
  + the `+ '(groupname)'` clause defines this
* Fix `--dir` to take directories, not files
2022-02-25 01:07:43 -05:00
..
bash bash-completion refactoring 2022-02-13 23:44:04 +01:00
fish keep the sed, we do want to skip the first line 2021-09-01 08:54:48 -07:00
ps Add PowerShell completion script 2020-01-20 11:26:15 +00:00
zsh completion: zsh: overhaul and sync to current flags 2022-02-25 01:07:43 -05:00