lukechilds / zsh-nvm

Zsh plugin for installing, updating and loading nvm
MIT License
2.24k stars 113 forks source link

install error with zgen #1

Closed chestertonic closed 8 years ago

chestertonic commented 8 years ago

When attempting to install with zgen I get: Creating a zgen save /home/chester/.zgen/lukechilds/zsh-nvm-master/zsh-nvm.plugin.zsh:65: parse error near]]'``

lukechilds commented 8 years ago

Thanks for reporting this, looking into it now.

lukechilds commented 8 years ago

@chestertonic What version of zsh are you using?

lukechilds commented 8 years ago

@chestertonic This was caused by me doing a truthy check rather than doing a proper check for a string of non-zero length.

Worked for me on zsh 5.1 but I get the same error as you on a fresh Ubuntu vm with zsh 5.0.2.

All sorted now, if you run zgen update and then open a new terminal you should be good to go. 👍

lukechilds commented 8 years ago

@chestertonic Is this working ok for you now?