diff --git a/functions/icons.zsh b/internal/icons.zsh similarity index 100% rename from functions/icons.zsh rename to internal/icons.zsh 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