summaryrefslogtreecommitdiff
path: root/config/p10k-pure.zsh
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2022-10-02 19:34:25 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2022-10-02 19:34:25 +0300
commit843dcf016710a4fe39f8ad65da2929f9128436fd (patch)
tree4b1e980b279899aea363730e42dff26f2a8e8026 /config/p10k-pure.zsh
parent957249a95c27c430aa55b55c0f4df9f5ced2bb39 (diff)
survive broken FPATH (#10
Diffstat (limited to 'config/p10k-pure.zsh')
-rw-r--r--config/p10k-pure.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/p10k-pure.zsh b/config/p10k-pure.zsh
index 566c030d..97c1a207 100644
--- a/config/p10k-pure.zsh
+++ b/config/p10k-pure.zsh
@@ -29,7 +29,7 @@
unset -m '(POWERLEVEL9K_*|DEFAULT_USER)~POWERLEVEL9K_GITSTATUS_DIR'
# Zsh >= 5.1 is required.
- autoload -Uz is-at-least && is-at-least 5.1 || return
+ [[ $ZSH_VERSION == (5.<1->*|<6->.*) ]] || return
# Prompt colors.
local grey=242