aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-24 16:06:36 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-24 16:06:36 +0300
commit40fa321cc25e9039b84cc13d11b5b79ac82d660b (patch)
treeef91380f1d6a7251adf70396c2b7f469be148759 /internal/p10k.zsh
parentbe1a97bf4715a50f792bd19330cc1f22109bfb07 (diff)
move icons.zsh to internal
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-xinternal/p10k.zsh5
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index bd4c90d8..38575380 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -27,6 +27,8 @@ if ! autoload -Uz is-at-least || ! is-at-least 5.1; then
return 1
fi
+source "${__p9k_installation_dir}/internal/icons.zsh"
+
# For compatibility with Powerlevel9k. It's not recommended to use mnemonic color
# names in the configuration except for colors 0-7 as these are standard.
typeset -grA __p9k_colors=(
@@ -249,9 +251,6 @@ function _p9k_parse_ip() {
return 1
}
-source "${__p9k_installation_dir}/functions/icons.zsh"
-source "${__p9k_installation_dir}/functions/vcs.zsh"
-
# Caching allows storing array-to-array associations. It should be used like this:
#
# if ! _p9k_cache_get "$key1" "$key2"; then