Default modules for p10k changed; trying to live with transient prompt.
This commit is contained in:
parent
a6926a4716
commit
2cf8d0accc
1 changed files with 5 additions and 8 deletions
13
zsh/p10k.zsh
13
zsh/p10k.zsh
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue