1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-09-21 02:50:08 +00:00

short-circuit double sourcing of the theme

This commit is contained in:
romkatv 2019-10-24 18:02:57 +02:00
parent 7ab85fbfc3
commit a14d8e92dd

View file

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