Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong node version #28

Open
glsorre opened this issue Oct 3, 2019 · 1 comment
Open

wrong node version #28

glsorre opened this issue Oct 3, 2019 · 1 comment

Comments

@glsorre
Copy link

glsorre commented Oct 3, 2019

Describe the bug
Using oh my zsh nvm plugin, nvm and alien-minimal.

To Reproduce
Steps to reproduce the behavior:

 ~ (i) export AM_VERSIONS_PROMPT=(NODE NODE_S)                                


 [⬡ 11.15.0|⬡ 11.15] 
 ~ (i) nvm use 9
Now using node v9.11.2 (npm v5.6.0)

 [⬡ 11.15.0|⬡ 11.15] 
 ~ (i) 

Expected behavior
I expect the right node version.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment:

  • Plugin Manager: [ antibody ]
  • ZSH Version: 5.4.2 or 5.3
  • Operating System: Ubuntu 18.04 or Mac OS X
  • Terminal Emulator: Tilix 1.7.7 or iTerm 3.0

Additional context
When launching echo -ne "%F{$AM_NODE_COLOR}${AM_NODE_SYM}$(plib_node_version)%f" I got the right result

@eendroroy
Copy link
Owner

eendroroy commented Oct 14, 2019

nvm not supported yet. I will try to add it.

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

No branches or pull requests

2 participants