From c2e66b002a667bbf62b20a6dc3e807e2892d279c Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Wed, 18 Apr 2018 21:43:39 -0500 Subject: [PATCH] Dynamically invoke yarn completions so they aren't cached Correct `-a (something)` to `-a '(something)'` --- share/completions/yarn.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/yarn.fish b/share/completions/yarn.fish index d4e4d3c09..0556821a4 100644 --- a/share/completions/yarn.fish +++ b/share/completions/yarn.fish @@ -49,7 +49,7 @@ function __yarn_list_packages end -complete -f -c yarn -n '__fish_seen_subcommand_from remove' -a (set -l packages (__yarn_list_packages); echo $packages) +complete -f -c yarn -n '__fish_seen_subcommand_from remove' -a '(__yarn_list_packages)' complete -f -c yarn -n '__fish_use_subcommand' -a help