Permalink
Browse files

Don't trigger infinite reloading in oh-my-zsh

  • Loading branch information...
isaacs committed Nov 29, 2012
1 parent 12a6831 commit d8800f2539f771d27ba673508ba9bb08a4dec92b
Showing with 6 additions and 4 deletions.
  1. +4 −4 README.md
  2. +2 −0 nave.sh
View
@@ -69,11 +69,11 @@ old style, just prefix your command with `node`.
Nave requires bash. It will probably never work on Windows, or other systems
lack a native Bourne Again Shell. Sorry.
-Nave works out of the box with bash. If you use zsh, sh, ksh, csh, or
-any other sh as your shell, then you should need to add this line or its
-equivalent to your init script:
+Nave logins work with bash and zsh. If your shell doesn't set the
+`BASH` environment variable, then nave assumes you're using zsh. As
+such, strange archaic shells like sh, csh, tcsh, ksh, and the like will not
+work.
- export PATH=$NAVE_PATH:$PATH
## Configuration
View
@@ -119,7 +119,9 @@ else
else
[ -f ~/.zshrc ] && . ~/.zshrc || true
fi
+ export DISABLE_AUTO_UPDATE=true
fi
+unset ZDOTDIR
export PATH=\$NAVEPATH:\$PATH
[ -f ~/.naverc ] && . ~/.naverc || true
RC

0 comments on commit d8800f2

Please sign in to comment.