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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -908,7 +908,7 @@ _yarn_scripts() {
fi
local -a candidates=($scripts $binaries)
_values 'scripts' $candidates
compadd -a candidates
}
_yarn "$@"