fish-shell/share/completions/just.fish
Daniel Bretoi c78750499d
Dynamic Completion for Justfile Recipes (#10244)
* Create just.fish

justfile completions for tasks similar to make completions for targets

* no need for the match at all
2024-01-22 20:13:10 +01:00

5 lines
126 B
Fish

function _justfile_targets
just --summary 2>/dev/null | string split ' '
end
complete -c just -a '(_justfile_targets)' -f