-
-
Notifications
You must be signed in to change notification settings - Fork 236
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Clear and concise description of the problem
I'm using zsh-nvm-plugin
with oh-my-zsh
. It makes the yarn
/ pnpm
as a shell function, so that we don't need to initialize nvm when we initialize the zsh.
And when I use ni
in a new shell. It'll display following message:
[ni] Detected yarn but it doesn't seem to be installed.
✖ Would you like to globally install yarn (https://classic.yarnpkg.com/en/docs/install)? …
or
[ni] Detected pnpm but it doesn't seem to be installed.
I don't know what's the behaviour if I accept it. But I really want ni
could recognize the shell function wrapper.
Suggested solution
I have no idea about how ni
to recognize the package manager installation situation. But I think using the type
command to detect this is a workaround.
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request