X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=bcddaf6f802bde96f410cf2889ab313666480ac4;hb=e22f2e742b2db38f890cc445732d278378a611e4;hp=c752a630ca6e3c951702a45422d78001af12d83a;hpb=59af3d44e7f5d2b3b86451ac0e17103832c34f14;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index c752a63..bcddaf6 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -289,6 +289,11 @@ is43(){ return 1 } +# Use is-at-least, if you need to check more precisely. +# Note that this test will *always* fail, if the is-at-least +# function could not be marked for autoloading. +zrcautoload is-at-least || is-at-least() { return 1 } + #f1# Checks whether or not you're running grml isgrml(){ [[ -f /etc/grml_version ]] && return 0