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
This commit is contained in:
Daniel Bretoi 2024-01-22 11:13:10 -08:00 committed by GitHub
parent 0f97111290
commit c78750499d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,4 @@
function _justfile_targets
just --summary 2>/dev/null | string split ' '
end
complete -c just -a '(_justfile_targets)' -f