mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-16 23:22:45 +08:00
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:
parent
0f97111290
commit
c78750499d
4
share/completions/just.fish
Normal file
4
share/completions/just.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function _justfile_targets
|
||||
just --summary 2>/dev/null | string split ' '
|
||||
end
|
||||
complete -c just -a '(_justfile_targets)' -f
|
Loading…
Reference in New Issue
Block a user