mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 23:08:00 +00:00
[node] Always quote files when source
-ing
This commit is contained in:
parent
eddbdd9416
commit
8846db9d4d
@ -12,7 +12,7 @@ if [[ -s "$HOME/.nvm/nvm.sh" ]]; then
|
|||||||
|
|
||||||
# Load package manager installed NVM into the shell session.
|
# Load package manager installed NVM into the shell session.
|
||||||
elif (( $+commands[brew] )) && [[ -d "$(brew --prefix nvm 2>/dev/null)" ]]; then
|
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.
|
# Load manually installed nodenv into the shell session.
|
||||||
elif [[ -s "$HOME/.nodenv/bin/nodenv" ]]; then
|
elif [[ -s "$HOME/.nodenv/bin/nodenv" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user