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