|
|
@ -11,11 +11,10 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
# The list of segments shown on the left. Fill it with the most important segments.
|
|
|
|
# The list of segments shown on the left. Fill it with the most important segments.
|
|
|
|
typeset -ga POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
|
|
|
|
typeset -ga POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
|
|
|
|
# Line #1
|
|
|
|
# =========================[ Line #1 ]=========================
|
|
|
|
dir # current directory
|
|
|
|
dir # current directory
|
|
|
|
vcs # git status
|
|
|
|
vcs # git status
|
|
|
|
|
|
|
|
# =========================[ Line #2 ]=========================
|
|
|
|
# Line #2
|
|
|
|
|
|
|
|
newline
|
|
|
|
newline
|
|
|
|
prompt_char # prompt symbol
|
|
|
|
prompt_char # prompt symbol
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -25,7 +24,7 @@ fi
|
|
|
|
# automatically hidden when the input line reaches it. Right prompt above the
|
|
|
|
# automatically hidden when the input line reaches it. Right prompt above the
|
|
|
|
# last prompt line gets hidden if it would overlap with left prompt.
|
|
|
|
# last prompt line gets hidden if it would overlap with left prompt.
|
|
|
|
typeset -ga POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
|
|
|
|
typeset -ga POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
|
|
|
|
# Line #1
|
|
|
|
# =========================[ Line #1 ]=========================
|
|
|
|
status # exit code of the last command
|
|
|
|
status # exit code of the last command
|
|
|
|
command_execution_time # duration of the last command
|
|
|
|
command_execution_time # duration of the last command
|
|
|
|
background_jobs # presence of background jobs
|
|
|
|
background_jobs # presence of background jobs
|
|
|
@ -38,8 +37,7 @@ fi
|
|
|
|
# node_version # node.js version
|
|
|
|
# node_version # node.js version
|
|
|
|
# kubecontext # current kubernetes context (https://kubernetes.io/)
|
|
|
|
# kubecontext # current kubernetes context (https://kubernetes.io/)
|
|
|
|
context # user@host
|
|
|
|
context # user@host
|
|
|
|
|
|
|
|
# =========================[ Line #2 ]=========================
|
|
|
|
# Line #2
|
|
|
|
|
|
|
|
newline
|
|
|
|
newline
|
|
|
|
# public_ip # public IP address
|
|
|
|
# public_ip # public IP address
|
|
|
|
# time # current time
|
|
|
|
# time # current time
|
|
|
|