mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 00:10:08 +00:00
short-circuit double sourcing of the theme
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user