summaryrefslogtreecommitdiff
path: root/gitstatus/mbuild
diff options
context:
space:
mode:
Diffstat (limited to 'gitstatus/mbuild')
-rwxr-xr-xgitstatus/mbuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/gitstatus/mbuild b/gitstatus/mbuild
index d3de3317..40316fdf 100755
--- a/gitstatus/mbuild
+++ b/gitstatus/mbuild
@@ -94,9 +94,7 @@
setopt no_unset extended_glob pipe_fail prompt_percent typeset_silent \
no_prompt_subst no_prompt_bang pushd_silent warn_create_global
-autoload -Uz is-at-least
-
-if ! is-at-least 5.1 || [[ $ZSH_VERSION == 5.4.* ]]; then
+if [[ $ZSH_VERSION != (5.<1->*|<6->.*) || $ZSH_VERSION == 5.4(|.*) ]]; then
print -ru2 -- "[error] unsupported zsh version: $ZSH_VERSION"
return 1
fi