d6aeaad83d73855776f7c937ef51428523295352

Author
Pooya Parsa <pyapar@gmail.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

[plugin] update NPX docs (#6849)

Diff

 1diff --git a/plugins/npx/README.md b/plugins/npx/README.md
 2index 2c94e4515825c04787c16badf9abd4834896777b..1c052930bb0aff06cc677baeaa7c6eef8bb457d7 100644
 3--- a/plugins/npx/README.md
 4+++ b/plugins/npx/README.md
 5@@ -11,7 +11,21 @@ This plugin automatically registers npx command-not-found handler if `npx` exist
 6 plugins=(.... npx)
 7 ```
 8 
 9-- Globally install npx binary (you need node.js installed too!)
10+- Globally install npx binary (npx will be auto installed with recent versions of Node.js)
11 ```bash
12 sudo npm install -g npx
13-```
14+```
15+
16+## Note
17+
18+The shell auto-fallback doesn't auto-install plain packages. In order to get it to install something, you need to add `@`:
19+
20+```
21+➜  jasmine@latest # or just `jasmine@`
22+npx: installed 13 in 1.896s
23+Randomized with seed 54385
24+Started
25+```
26+
27+It does it this way so folks using the fallback don't accidentally try to install regular typoes.
28+