Diff
1diff --git a/plugins/nvm/README.md b/plugins/nvm/README.md
2index eb1e236ee65395250e4d37820e90d72bcf9b3cd5..fe91cc3b2c17e0da9c5f661ff390cc97b558d24a 100644
3--- a/plugins/nvm/README.md
4+++ b/plugins/nvm/README.md
5@@ -26,9 +26,10 @@ These settings should go in your zshrc file, before Oh My Zsh is sourced:
6 #### Lazy startup
7
8 This option will help you to defer nvm's load until you use it to speed-up your zsh startup. This will source
9-nvm script only when using it, and will create a function for `node`, `npm`, `npx`, `pnpm`, `yarn`, `corepack`
10-and the command(s) specified by `lazy-cmd` option, so when you call either of them, nvm will be loaded and run
11-with default version. To enable it, you can add this snippet to your zshrc, before Oh My Zsh is sourced:
12+nvm script only when using it, and will create a function for `node`, `npm`, `npx`, `pnpm`, `pnpx`, `yarn`,
13+`corepack` and the command(s) specified by `lazy-cmd` option, so when you call either of them, nvm will be
14+loaded and run with default version. To enable it, you can add this snippet to your zshrc, before Oh My Zsh is
15+sourced:
16
17 ```zsh
18 zstyle ':omz:plugins:nvm' lazy yes
19diff --git a/plugins/nvm/nvm.plugin.zsh b/plugins/nvm/nvm.plugin.zsh
20index f36182edacc9e6478931152c166c1dbbfc5a0cce..a00c2e1172a47de4f0206885a131d8860f0a0c8b 100644
21--- a/plugins/nvm/nvm.plugin.zsh
22+++ b/plugins/nvm/nvm.plugin.zsh
23@@ -74,7 +74,7 @@ function _omz_setup_autoload {
24 if zstyle -t ':omz:plugins:nvm' lazy; then
25 # Call nvm when first using nvm, node, npm, pnpm, yarn, corepack or other commands in lazy-cmd
26 zstyle -a ':omz:plugins:nvm' lazy-cmd nvm_lazy_cmd
27- nvm_lazy_cmd=(nvm node npm npx pnpm yarn corepack $nvm_lazy_cmd) # default values
28+ nvm_lazy_cmd=(nvm node npm npx pnpm pnpx yarn corepack $nvm_lazy_cmd) # default values
29 eval "
30 function $nvm_lazy_cmd {
31 for func in $nvm_lazy_cmd; do