Closed lusoalex closed 4 years ago
I'm getting a strange issue with the completion where it gives me the nvm suggestion for the first three arguments and then falls back to the files in the current dir. Are you seeing that?
I'm getting a strange issue with the completion where it gives me the nvm suggestion for the first three arguments and then falls back to the files in the current dir. Are you seeing that?
Hello, no it seems ok on my side.
Hmmn, looks like you are getting the same issue, it shouldn't be recommending install
again after you've typed nvm install
.
But this seems like it's a bug in nvm, it's doing the same for me if I source it in bash so not related to zsh or nvm-zsh or this PR. Happy to merge this. Might be worth opening an issue on the nvm repo about the incorrect suggestions though.
Thanks for your help!
Hmmn, looks like you are getting the same issue, it shouldn't be recommending
install
again after you've typednvm install
.But this seems like it's a bug in nvm, it's doing the same for me if I source it in bash so not related to zsh or nvm-zsh or this PR. Happy to merge this. Might be worth opening an issue on the nvm repo about the incorrect suggestions though.
Thanks for your help!
You are right, If I take the same value than your first example, I have the same result. Yes it come from nvm not zsh by the way, and my opinion here it's better to use their completion (and contribute to it) instead of having to maintain multiple solutions. 👍 Thanks for the approval 😃
Hello,
This closes #57 for nvm completion.
Even if I would enable this by default, I introduced a new parameter
NVM_COMPLETION
to enable this feature, this way there are no breaking changes possible by default.The completion is provided by the nvm core repository and enabled as mentioned in the core installation.
Will result in: