From 8b1b94a0d58b4647aa7e6751099375762b0f64d3 Mon Sep 17 00:00:00 2001 From: Dziad Borowy <392513+tborychowski@users.noreply.github.com> Date: Thu, 23 Apr 2026 10:38:29 +0100 Subject: [PATCH] fix yarn run completions `yarn run` doesn't show scripts that have `:` in them (e.g. `lint:js`, `test:e2e`), which is a popular pattern. this change fixes that. --- src/_yarn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_yarn b/src/_yarn index 7bdb750..c29927c 100644 --- a/src/_yarn +++ b/src/_yarn @@ -908,7 +908,7 @@ _yarn_scripts() { fi local -a candidates=($scripts $binaries) - _values 'scripts' $candidates + compadd -a candidates } _yarn "$@"