short-circuit double sourcing of the theme

pull/298/head
romkatv 5 years ago
parent 7ab85fbfc3
commit a14d8e92dd

@ -5183,6 +5183,8 @@ else
fi fi
prompt_powerlevel9k_setup() { prompt_powerlevel9k_setup() {
(( __p9k_enabled )) && return
prompt_opts=(percent subst) prompt_opts=(percent subst)
(( $+__p9k_instant_prompt_active )) || { (( $+__p9k_instant_prompt_active )) || {
[[ ! -o prompt_sp ]] || prompt_opts+=sp [[ ! -o prompt_sp ]] || prompt_opts+=sp

Loading…
Cancel
Save