Default modules for p10k changed; trying to live with transient prompt.

This commit is contained in:
Bartek Stalewski 2021-10-05 20:42:26 +02:00
parent a6926a4716
commit 2cf8d0accc

View file

@ -11,19 +11,16 @@
autoload -Uz is-at-least && is-at-least 5.1 || return
typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
# line 1
# virtualenv
# aws
# terraform
# kubecontext
# vcs
# background_jobs
# command_execution_time
# newline
# line 2
# vi_mode
virtualenv
context
dir
vcs
background_jobs
command_execution_time
prompt_char
)
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
@ -156,7 +153,7 @@
typeset -g POWERLEVEL9K_VI_MODE_NORMAL_BACKGROUND=1
# other settings
typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=off
typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=always
typeset -g POWERLEVEL9K_INSTANT_PROMPT=verbose
typeset -g POWERLEVEL9K_DISABLE_HOT_RELOAD=true
(( ! $+functions[p10k] )) || p10k reload