Skip to content

Conversation

sehrope
Copy link
Contributor

@sehrope sehrope commented May 8, 2020

Renames two internal functions to be prefixed with nvm_, matching the rest of the helpers.

This fixes node_version_has_solaris_binary coming up as a tab completion for node:

$ node<TAB>
node                             node_version_has_solaris_binary

Second commit renames the test scripts to match the new function names. Bit easier to see the diff with the rename standing on its own.

Renames node_version_has_solaris_binary and nvm_iojs_version_has_solaris_binary
to be prefixed with nvm_ so they do not show up in tab completion following the
word "node".
@ljharb ljharb force-pushed the rename-internals-to-prefix-with-nvm branch from 80a720e to 91a55dd Compare May 25, 2020 20:15
Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ljharb ljharb merged commit 91a55dd into nvm-sh:master May 25, 2020
@sehrope
Copy link
Contributor Author

sehrope commented May 25, 2020

Nice. Just updated and tab completion works without the extra function. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants