Compare commits

..

2 Commits

Author SHA1 Message Date
Shohei YOSHIDA dbaeafd96c
Merge pull request #1260 from tborychowski/patch-1
fix yarn run completions
2026-04-23 19:52:05 +09:00
Dziad Borowy 8b1b94a0d5
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.
2026-04-23 10:38:29 +01:00
1 changed files with 1 additions and 1 deletions

View File

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