8 lines
291 B
Plaintext
8 lines
291 B
Plaintext
autoload -Uz is-at-least && if ! is-at-least <%= min_zsh_version %>; then
|
|
print -u2 -R "${0}: Error starting Zim. You're using Zsh version ${ZSH_VERSION} and versions < <%= min_zsh_version %> are not supported. Update your Zsh."
|
|
return 1
|
|
fi
|
|
|
|
# Define Zim location
|
|
: ${ZIM_HOME=${0:A:h}}
|