diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-10-03 15:21:21 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-10-03 15:21:21 +0300 |
commit | e0bb4f01478162018e64fa1795dab96f6d2572f1 (patch) | |
tree | c8816f900f81ac03f4e296214af576afec629b0b /powerlevel9k.zsh-theme | |
parent | b8d648b339c2b6cd784c73c704c0ebddd821f2e4 (diff) |
zcompile all sources
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index f44e6870..8a0dc15b 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -27,6 +27,10 @@ typeset -g __p9k_root_dir="${POWERLEVEL9K_INSTALLATION_DIR:-${${(%):-%x}:A:h}}" return fi typeset -gr __p9k_sourced=1 + local f + for f in $__p9k_root_dir/{powerlevel9k.zsh-theme,powerlevel10k.zsh-theme,internal/p10k.zsh,internal/icons.zsh,internal/configure.zsh,gitstatus/gitstatus.plugin.zsh}; do + [[ $f.zwc -nt $f ]] || zcompile $f + done source $__p9k_root_dir/internal/p10k.zsh || true } |