mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
Wrap binary path output in quotes
This commit is contained in:
parent
007fd93fd7
commit
ce7bc2a0a2
@ -25,7 +25,7 @@ _zsh_nvm_install() {
|
|||||||
_zsh_nvm_global_binaries() {
|
_zsh_nvm_global_binaries() {
|
||||||
|
|
||||||
# Look for global binaries
|
# Look for global binaries
|
||||||
local global_binary_paths=$(echo "$NVM_DIR"/v0*/bin/*(N) "$NVM_DIR"/versions/*/*/bin/*(N))
|
local global_binary_paths="$(echo "$NVM_DIR"/v0*/bin/*(N) "$NVM_DIR"/versions/*/*/bin/*(N))"
|
||||||
|
|
||||||
# If we have some, format them
|
# If we have some, format them
|
||||||
if [[ -n "$global_binary_paths" ]]; then
|
if [[ -n "$global_binary_paths" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user