Skip to content
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

Feature Request: work better with nvm lazy load script #208

Open
3 tasks done
cnwangjie opened this issue May 11, 2024 · 0 comments
Open
3 tasks done

Feature Request: work better with nvm lazy load script #208

cnwangjie opened this issue May 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cnwangjie
Copy link

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

@cnwangjie cnwangjie added the enhancement New feature or request label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant