Warning message for zsh < 5.2
as discussed in #184. We'll first give users this warning message. A future update will replace this by an error. Also, starting at that update, a new branch will be created for users that still want to stick with zsh < 5.2. Closes #194
This commit is contained in:
parent
61019c5827
commit
ff32968ba9
1 changed files with 5 additions and 0 deletions
5
init.zsh
5
init.zsh
|
@ -2,6 +2,11 @@
|
|||
# Zim initializition
|
||||
#
|
||||
|
||||
autoload -Uz is-at-least
|
||||
if ! is-at-least 5.2; then
|
||||
print "WARNING: Support for zsh < 5.2 will be removed in a future update. Update your version of zsh now to prevent any interruptions." >&2
|
||||
fi
|
||||
|
||||
# Define zim location
|
||||
ZIM="${ZDOTDIR:-${HOME}}/.zim"
|
||||
|
||||
|
|
Loading…
Reference in a new issue