only run load-nvmrc if it exists

This commit is contained in:
Nick Nisi
2016-05-11 18:46:01 -05:00
parent 282b6ec9ac
commit 0fd4a11174

View File

@@ -73,10 +73,10 @@ add-zsh-hook chpwd load-nvmrc
if hash brew 2>/dev/null; then if hash brew 2>/dev/null; then
source $(brew --prefix nvm)/nvm.sh source $(brew --prefix nvm)/nvm.sh
source `brew --prefix`/etc/profile.d/z.sh source `brew --prefix`/etc/profile.d/z.sh
fi # when sourcing, check and ensure that the correct Node version is set
load-nvmrc
# when sourcing, check and ensure that the correct Node version is set fi
load-nvmrc
# Base16 Shell # Base16 Shell
# if [ -z "$THEME" ]; then # if [ -z "$THEME" ]; then