9 lines
359 B
Plaintext
9 lines
359 B
Plaintext
autoload -Uz is-at-least && if ! is-at-least <%= min_zsh_version %>; then
|
|
print -u2 -PR "%F{red}${0}: Error starting Zim. You're using Zsh version %B${ZSH_VERSION}%b and versions < %B<%= min_zsh_version %>%b are not supported. Upgrade your Zsh.%f"
|
|
return 1
|
|
fi
|
|
autoload -Uz zargs
|
|
|
|
# Define Zim location
|
|
if (( ! ${+ZIM_HOME} )) typeset -g ZIM_HOME=${0:A:h}
|