mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
Allow nullglobs when looking for binaries
This commit is contained in:
parent
eef332636f
commit
8709621973
@ -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…
Reference in New Issue
Block a user