diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-10-24 19:02:57 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-10-24 19:02:57 +0300 |
commit | a14d8e92dd8aa6efe2fb57e01986f07c0798a83a (patch) | |
tree | ca12986421f1e1c13d155073317ce1669967e6c8 /internal/p10k.zsh | |
parent | 7ab85fbfc368a60c6224e69ce9655925e3ab8e8e (diff) |
short-circuit double sourcing of the theme
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r-- | internal/p10k.zsh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |