Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to correctly setup plugin nvm for oh-my-zsh

I'm using oh-my-zsh and I would like to use the plugin nvm. It works fine, except for one part, the auto switch to correct node version.

I've set the env variable NVM_AUTOLOAD=1 inside my .zshrc file but it's not working.

Anyone having an idea how to solve that ?

Thanks.

like image 550
Frix G Avatar asked Oct 20 '25 04:10

Frix G


1 Answers

With the latest oh-my-zsh (at the time of this comment), just need to put zstyle ':omz:plugins:nvm' autoload true before the call to source $ZSH/oh-my-zsh.sh

like image 121
user20583672 Avatar answered Oct 23 '25 23:10

user20583672