From 5e72d3ca80ef05b8078850992f6c6680a39c5a6e Mon Sep 17 00:00:00 2001 From: romkatv Date: Sat, 1 Jun 2019 22:54:32 +0200 Subject: move source guard to the outer script --- internal/p10k.zsh | 7 ------- 1 file changed, 7 deletions(-) (limited to 'internal') diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 6f97e4cf..eef6da58 100755 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -27,13 +27,6 @@ if ! autoload -U is-at-least || ! is-at-least 5.1; then return 1 fi -if (( $+_P9K_SOURCED )); then - prompt_powerlevel9k_setup - return -fi - -readonly _P9K_SOURCED=1 - source "${_p9k_installation_dir}/functions/utilities.zsh" source "${_p9k_installation_dir}/functions/icons.zsh" source "${_p9k_installation_dir}/functions/colors.zsh" -- cgit v1.2.3