mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-25 00:21:58 +00:00
short-circuit double sourcing of the theme
This commit is contained in:
parent
7ab85fbfc3
commit
a14d8e92dd
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue