From 8846db9d4d35758e91a427bca17120d216be99de Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Sat, 22 Jul 2017 23:42:51 -0500 Subject: [PATCH] [node] Always quote files when `source`-ing --- modules/node/init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/node/init.zsh b/modules/node/init.zsh index a15bace..c225b2f 100644 --- a/modules/node/init.zsh +++ b/modules/node/init.zsh @@ -12,7 +12,7 @@ if [[ -s "$HOME/.nvm/nvm.sh" ]]; then # Load package manager installed NVM into the shell session. elif (( $+commands[brew] )) && [[ -d "$(brew --prefix nvm 2>/dev/null)" ]]; then - source $(brew --prefix nvm)/nvm.sh + source "$(brew --prefix nvm)/nvm.sh" # Load manually installed nodenv into the shell session. elif [[ -s "$HOME/.nodenv/bin/nodenv" ]]; then