alien-minimal icon indicating copy to clipboard operation
alien-minimal copied to clipboard

wrong node version

Open glsorre opened this issue 5 years ago • 1 comments

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

glsorre avatar Oct 03 '19 18:10 glsorre

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

eendroroy avatar Oct 14 '19 17:10 eendroroy