Fix p10k include

This commit is contained in:
Tim
2020-01-24 16:08:38 +01:00
parent 5955e04a32
commit e6b0199bac
30 changed files with 16882 additions and 22 deletions

View File

@ -42,6 +42,7 @@
vcs # git status
# =========================[ Line #2 ]=========================
newline
time
prompt_char # prompt symbol
)
@ -337,6 +338,11 @@
# typeset -g POWERLEVEL9K_DIR_WORK_ANCHOR_FOREGROUND=39
#
# typeset -g POWERLEVEL9K_DIR_CLASSES=()
# typeset -g POWERLEVEL9K_DIR_CLASSES=(
# '~/LetsTalk(|/*)' WORK '(╯°□°)╯︵ ┻━┻'
# '~(|/*)' HOME ''
# '*' DEFAULT ''
# )
#####################################[ vcs: git status ]######################################
# Branch icon. Set this parameter to '\uF126 ' for the popular Powerline branch icon.
@ -801,7 +807,7 @@
#############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]#############
# Show kubecontext only when the the command you are typing invokes one of these tools.
# Tip: Remove the next line to always show kubecontext.
typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx'
#typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx'
# Kubernetes context classes for the purpose of using different colors, icons and expansions with
# different contexts.
@ -1050,7 +1056,7 @@
# If set to true, time will update when you hit enter. This way prompts for the past
# commands will contain the start times of their commands as opposed to the default
# behavior where they contain the end times of their preceding commands.
typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=false
typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=true
# Custom icon.
# typeset -g POWERLEVEL9K_TIME_VISUAL_IDENTIFIER_EXPANSION='⭐'
# Custom prefix.
@ -1084,6 +1090,10 @@
prompt_example
}
function p10k-on-pre-prompt() { p10k display '1|2/right'=show '2/left/time'=hide }
function p10k-on-post-prompt() { p10k display '1|2/right'=hide '2/left/time'=show }
# User-defined prompt segments can be customized the same way as built-in segments.
# typeset -g POWERLEVEL9K_EXAMPLE_FOREGROUND=208
# typeset -g POWERLEVEL9K_EXAMPLE_VISUAL_IDENTIFIER_EXPANSION='⭐'
@ -1095,7 +1105,7 @@
# - always: Trim down prompt when accepting a command line.
# - same-dir: Trim down prompt when accepting a command line unless this is the first command
# typed after changing current working directory.
typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=same-dir
typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=off
# Instant prompt mode.
#