From 40fa321cc25e9039b84cc13d11b5b79ac82d660b Mon Sep 17 00:00:00 2001 From: romkatv Date: Wed, 24 Jul 2019 15:06:36 +0200 Subject: [PATCH] move icons.zsh to internal --- {functions => internal}/icons.zsh | 0 internal/p10k.zsh | 5 ++--- 2 files changed, 2 insertions(+), 3 deletions(-) rename {functions => internal}/icons.zsh (100%) 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