Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh into contrib

* 'master' of https://github.com/robbyrussell/oh-my-zsh:
  Revert "Cancel update if the current user doesn't have write permissions for the oh-my-zsh directory."
  Cancel update if the current user doesn't have write permissions for the oh-my-zsh directory.
  Making auto-correction off by default
This commit is contained in:
Neil John D. Ortega 2013-12-25 21:45:51 +08:00
commit 400e485d31

View file

@ -1,7 +1,3 @@
if [[ "$DISABLE_CORRECTION" == "true" ]]; then
return
else
setopt correct_all
alias man='nocorrect man' alias man='nocorrect man'
alias mv='nocorrect mv' alias mv='nocorrect mv'
alias mysql='nocorrect mysql' alias mysql='nocorrect mysql'
@ -11,4 +7,7 @@ else
alias ebuild='nocorrect ebuild' alias ebuild='nocorrect ebuild'
alias hpodder='nocorrect hpodder' alias hpodder='nocorrect hpodder'
alias sudo='nocorrect sudo' alias sudo='nocorrect sudo'
if [[ "$ENABLE_CORRECTION" == "true" ]]; then
setopt correct_all
fi fi