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 | |
parent | b8d648b339c2b6cd784c73c704c0ebddd821f2e4 (diff) |
zcompile all sources
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | powerlevel9k.zsh-theme | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..416cfaac --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.zwc 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 } |