From c78750499d89e9f7f60636f7d2ac9485ed75b72e Mon Sep 17 00:00:00 2001 From: Daniel Bretoi Date: Mon, 22 Jan 2024 11:13:10 -0800 Subject: [PATCH] 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 --- share/completions/just.fish | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 share/completions/just.fish diff --git a/share/completions/just.fish b/share/completions/just.fish new file mode 100644 index 000000000..101635d45 --- /dev/null +++ b/share/completions/just.fish @@ -0,0 +1,4 @@ +function _justfile_targets + just --summary 2>/dev/null | string split ' ' +end +complete -c just -a '(_justfile_targets)' -f