Browse Source

Allow nullglobs when looking for binaries

pull/5/head
Luke Childs 8 years ago
parent
commit
8709621973
  1. 2
      zsh-nvm.plugin.zsh

2
zsh-nvm.plugin.zsh

@ -23,7 +23,7 @@ _zsh_nvm_install() {
}
_zsh_nvm_global_binaries() {
ls "$NVM_DIR"/v0*/bin/* "$NVM_DIR"/versions/*/*/bin/* |
ls "$NVM_DIR"/v0*/bin/*(N) "$NVM_DIR"/versions/*/*/bin/*(N) |
xargs basename |
sort |
uniq

Loading…
Cancel
Save