From 0cb680edd1989e6a643b320ab28e2618bd8d068d Mon Sep 17 00:00:00 2001 From: romkatv Date: Thu, 3 Oct 2019 14:21:58 +0200 Subject: fix bugs in startup speedup and make it yet faster --- internal/icons.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/icons.zsh') diff --git a/internal/icons.zsh b/internal/icons.zsh index 36e76fac..718e1663 100755 --- a/internal/icons.zsh +++ b/internal/icons.zsh @@ -544,7 +544,7 @@ function _p9k_init_icons() { } # Sadly, this is a part of public API. Its use is emphatically discouraged. -function print_icon() { +function _p9k_print_icon() { emulate -L zsh setopt no_hist_expand extended_glob no_prompt_bang prompt_{percent,subst} _p9k_init_icons @@ -563,7 +563,7 @@ function print_icon() { # * $1 string - If "original", then the original icons are printed, # otherwise "print_icon" is used, which takes the users # overrides into account. -function get_icon_names() { +function _p9k_get_icon_names() { emulate -L zsh setopt no_hist_expand extended_glob no_prompt_bang prompt_{percent,subst} _p9k_init_icons -- cgit v1.2.3