move source guard to the outer script

This commit is contained in:
romkatv 2019-06-01 22:54:32 +02:00
commit 5e72d3ca80
2 changed files with 35 additions and 30 deletions

View file

@ -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"