Spaceship-prompt: ⬢ n support

Created on 3 Apr 2017  Â·  7Comments  Â·  Source: denysdovhan/spaceship-prompt

We need to support n - an interactive node version manager.

Probably, spaceship_nvm_status should be refactored to spaceship_node_status. In that case, we need to care of backward compatibility.

Icon: Maybe better to use different icons for nvm and n i.e ⬢ and ⬡
Related: #33

help-wanted proposal

All 7 comments

Need help on this?

@lucasfeliciano yeah, help is needed. help wanted label exactly for that.

same applies to windows users (_Though I think I am pretty much the only Windows user with ZSH and this theme_) through nvm-windows which is not a nvm port. I fixed it locally for me by changing line 292 to local nvm_status=$(node -v 2>/dev/null).

But as you said on #33 this is just a simple fix, not a solution.

@Hammster yeah, I'm considering an introducing new variable called $SPACESHIP_NODE_DEFAULT with default Node.js as a fix for that. Need some time to be resolved. #78 has more priority for now.

@Hammster You are not alone. Windows Subsystem for Linux, ZSH, ohmyzsh and this theme. Thanks for the fix :)

@codepunkt definitely should be fixed fixed in the theme itself.

@codepunkt done. Check out v2.4.2.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nfischer picture nfischer  Â·  3Comments

jwhipp picture jwhipp  Â·  3Comments

ChadTaljaardt picture ChadTaljaardt  Â·  4Comments

gillesdemey picture gillesdemey  Â·  3Comments

maccius picture maccius  Â·  3Comments