-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highlight npx
as a command that runs other commands
#939
Comments
Since |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
npx
is a command from Nodejs that executes a command either from the path or from the installed Node packages: https://www.npmjs.com/package/npxThis means that when I run something like
npx webpack
, the command that "really" gets run iswebpack
, notnpx
.I know that when I run
time
orsudo
, that gets highlighted differently from the command that "really" gets run. Is it possible to do something similar fornpx
? I expect that one issue is that the following command may or may not be in thePATH
, which makes it tough to highlight it correctly.I'm not deep enough in zsh to know if this is something that requires a code change to this package or some way of tagging the command within zsh, but any advice or thoughts would be welcome!
The text was updated successfully, but these errors were encountered: