From a14d8e92dd8aa6efe2fb57e01986f07c0798a83a Mon Sep 17 00:00:00 2001 From: romkatv Date: Thu, 24 Oct 2019 18:02:57 +0200 Subject: [PATCH] short-circuit double sourcing of the theme --- internal/p10k.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 4fd73c89..c3abf343 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -5183,6 +5183,8 @@ else fi prompt_powerlevel9k_setup() { + (( __p9k_enabled )) && return + prompt_opts=(percent subst) (( $+__p9k_instant_prompt_active )) || { [[ ! -o prompt_sp ]] || prompt_opts+=sp