aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-pure.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-11-29 13:26:28 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-11-29 13:26:28 +0300
commitd55923be8749889d18fee54f6b6a4853343f049e (patch)
treed93867d0516653c242850312e467225cf1d336f7 /config/p10k-pure.zsh
parent41eebccdc43c9fbefc3338f4b9e0110c2681d0aa (diff)
survive ancient zsh
Diffstat (limited to 'config/p10k-pure.zsh')
-rw-r--r--config/p10k-pure.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/p10k-pure.zsh b/config/p10k-pure.zsh
index 026eeca9..e579cd2e 100644
--- a/config/p10k-pure.zsh
+++ b/config/p10k-pure.zsh
@@ -25,6 +25,8 @@
emulate -L zsh
setopt no_unset
+ autoload -Uz is-at-least && is-at-least 5.1 || return
+
# Unset all configuration options.
unset -m 'POWERLEVEL9K_*'