Spaceship-prompt: What if the user don't use nvm?

Created on 11 Oct 2016  路  7Comments  路  Source: denysdovhan/spaceship-prompt

I personally use n ( https://github.com/tj/n ) instead nvm,
Is there any easy fix for that?

If we get the node version by node -v it should work in my case

question

Most helpful comment

You the best!

All 7 comments

Personally, I prefer nvm.

If we will use node -v than how will we hide this part for system version of node, like we do in case with nvm?

If you know how to do that, I'll be grateful if you send me pr.

You could add another variable, something like SPACESHIP_NODE_VERSION_CMD which by default is nvm current but can be overridden by the user

Please, check if #24 is related to your problem.

I'd prefer to name this variable as SPACESHIP_NODE_DEFAULT_VERSION for such cases.

+1

n support is coming soon. #70

You the best!

Sorry, accidentally closed this issue. It's still relevant. Reopened.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Vvkmnn picture Vvkmnn  路  3Comments

gillesdemey picture gillesdemey  路  3Comments

olets picture olets  路  3Comments

jwhipp picture jwhipp  路  3Comments

conradwt picture conradwt  路  3Comments