fix yarn run completions

`yarn run<TAB>` doesn't show scripts that have `:` in them (e.g. `lint:js`, `test:e2e`), which is a popular pattern.
this change fixes that.
This commit is contained in:
Dziad Borowy
2026-04-23 10:38:29 +01:00
committed by GitHub
parent 47e40c923c
commit 8b1b94a0d5
+1 -1
View File
@@ -908,7 +908,7 @@ _yarn_scripts() {
fi
local -a candidates=($scripts $binaries)
_values 'scripts' $candidates
compadd -a candidates
}
_yarn "$@"