Quote path in case $HOME has a space in it.
I've seen stranger things on OS X, unfortunately.
This reverts commit 1f5cecee4768be192e439a72a873a6cfe8720927.
Diff
1diff --git a/lib/nvm.zsh b/lib/nvm.zsh
2index 5cadf706195fcb84b0f7e32f9f831d5cd2539a9a..61d997fc07806ccb114df0895a8c6dc4c96866d8 100644
3--- a/lib/nvm.zsh
4+++ b/lib/nvm.zsh
5@@ -1,6 +1,6 @@
6 # get the node.js version
7 function nvm_prompt_info() {
8- [ -f $HOME/.nvm/nvm.sh ] || return
9+ [ -f "$HOME/.nvm/nvm.sh" ] || return
10 local nvm_prompt
11 nvm_prompt=$(node -v 2>/dev/null)
12 [[ "${nvm_prompt}x" == "x" ]] && return