From ed8609f17a3fff86fc27719dbe05b41b664d209b Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Sun, 3 Jun 2012 13:08:07 -0400 Subject: [PATCH] Do not source Oh My Zsh on Zsh version mismatch --- init.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/init.zsh b/init.zsh index 0249117..9b46645 100644 --- a/init.zsh +++ b/init.zsh @@ -10,6 +10,7 @@ min_zsh_version='4.3.10' if ! autoload -Uz is-at-least || ! is-at-least "$min_zsh_version"; then print "omz: old shell detected, minimum required: $min_zsh_version" >&2 + return 1 fi unset min_zsh_version