If possible, add completion for many npm commands

pseudo-code:

```
if (npm && brew) {
 if (!file) create file;
 source file
}
```