From eef332636fea6f87ab1e4b62d7aacbec448acbf4 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Sat, 27 Aug 2016 20:27:56 +0100 Subject: [PATCH] Add lazy loading support to node <0.12 --- zsh-nvm.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh-nvm.plugin.zsh b/zsh-nvm.plugin.zsh index 42f3b51..25dea4b 100644 --- a/zsh-nvm.plugin.zsh +++ b/zsh-nvm.plugin.zsh @@ -23,7 +23,7 @@ _zsh_nvm_install() { } _zsh_nvm_global_binaries() { - ls "$NVM_DIR"/versions/*/*/bin/* | + ls "$NVM_DIR"/v0*/bin/* "$NVM_DIR"/versions/*/*/bin/* | xargs basename | sort | uniq