Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/croaker/zshfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
croaker committed Apr 17, 2014
2 parents 24bc24e + 3b8c325 commit 33206d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/nvm.zsh
Expand Up @@ -2,10 +2,10 @@ local NVM_PATH=""

if [ -d ~/.nvm ]; then
NVM_PATH="~/.nvm"
elif [ -f $(which brew) ]; then
elif [ -f "$(which brew)" ]; then
NVM_PATH=$(brew --prefix nvm 2> /dev/null)
fi;

if [ -d $NVM_PATH ]; then
if [ ! -z $NVM_PATH ]; then
source $NVM_PATH/nvm.sh
fi
4 changes: 2 additions & 2 deletions lib/z.zsh
@@ -1,4 +1,4 @@
if [ -f $(which brew) ]; then
if [ -f "$(which brew)" ]; then
local Z_PATH="$(brew --prefix)/etc/profile.d/z.sh"
[ -f $Z_PATH ] && source $Z_PATH
[ -f "$Z_PATH" ] && source $Z_PATH
fi

0 comments on commit 33206d8

Please sign in to comment.