@@ -24,11 +24,11 @@ if (( ${+NVM_LAZY} + ${+NVM_LAZY_CMD} + ${+NVM_AUTOLOAD} )); then
# Nicely print the list in the style `var1, var2 and var3`
echo"${fg[yellow]}[nvm plugin] Variable-style settings are deprecated. Instead of ${(j:,:)used_vars[1,-2]}${used_vars[-2]+ and }${used_vars[-1]}, use:\n"
if(($+NVM_AUTOLOAD ));then
echo" zstyle ':omz:plugins:nvm' autoload true"
echo" zstyle ':omz:plugins:nvm' autoload yes"
zstyle ':omz:plugins:nvm' autoload yes
fi
if(($+NVM_LAZY ));then
echo" zstyle ':omz:plugins:nvm' lazy true"
echo" zstyle ':omz:plugins:nvm' lazy yes"
zstyle ':omz:plugins:nvm' lazy yes
fi
if(($+NVM_LAZY_CMD ));then
...
...
@@ -61,9 +61,11 @@ fi
# Autoload nvm when finding a .nvmrc file in the current directory