We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20bb35b commit e43d858Copy full SHA for e43d858
yarn-extra-completion.plugin.zsh
@@ -3,7 +3,7 @@
3
_yc_run_default() {
4
if (( ${+YARN_EXTRA_COMPLETION_DEFAULT} )); then
5
$YARN_EXTRA_COMPLETION_DEFAULT "$@"
6
- elif (( ${+commands[_yarn]} )); then
+ elif type _yarn &> /dev/null; then
7
_yarn "$@"
8
fi
9
}
0 commit comments