bash-it icon indicating copy to clipboard operation
bash-it copied to clipboard

[Feature]: nvm: only show node version if folder has package.json

Open enjunear opened this issue 2 years ago • 0 comments

Expected behavior

The nvm plugin should only show the node version if the current folder has a package.json file. Otherwise, don't show the node version.

Current behavior

Always shows the node version when the plugin is loaded.

Possible solution

I don't know, but there's a similar discussion here: https://github.com/romkatv/powerlevel10k/issues/373

Context

It just takes up extra line space when it is not relevant. E.g., working on a python project, or working on ansible.

Notes

You guys are awesome. <3

enjunear avatar Aug 26 '23 06:08 enjunear