summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorbh <qn+git@epicurus.dev>2026-03-11 15:27:01 +0800
committerbh <qn+git@epicurus.dev>2026-03-11 15:27:01 +0800
commit748205ff1a5f774788a98991996b9282370fbdbb (patch)
tree0b84c8ce8d242b1bb58ffb6f4c1bfb2d53f93715 /zsh
parent479dc0a28a2b8828635486474c0b67d836179a33 (diff)
zsh: improve prompt
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.p10k.zsh16
1 files changed, 8 insertions, 8 deletions
diff --git a/zsh/.p10k.zsh b/zsh/.p10k.zsh
index 28faccf..1d759f5 100644
--- a/zsh/.p10k.zsh
+++ b/zsh/.p10k.zsh
@@ -143,9 +143,9 @@
# Connect left prompt lines with these symbols. You'll probably want to use the same color
# as POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND below.
- typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='%242F╭─'
- typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX='%242F├─'
- typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX='%242F╰─'
+ typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='%F{#008181}╭─'
+ typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX='%F{#008181}├─'
+ typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX='%F{#008181}╰─%B%F{#FFC500}$%f%b'
# Connect right prompt lines with these symbols.
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_SUFFIX=
typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_SUFFIX=
@@ -155,13 +155,13 @@
# '─'. The last two make it easier to see the alignment between left and right prompt and to
# separate prompt from command output. You might want to set POWERLEVEL9K_PROMPT_ADD_NEWLINE=false
# for more compact prompt if using this option.
- typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR=' '
+ typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR='─'
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_BACKGROUND=
typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_GAP_BACKGROUND=
if [[ $POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR != ' ' ]]; then
# The color of the filler. You'll probably want to match the color of POWERLEVEL9K_MULTILINE
# ornaments defined above.
- typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=242
+ typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND='#008181'
# Start filler from the edge of the screen if there are no left segments on the first line.
typeset -g POWERLEVEL9K_EMPTY_LINE_LEFT_PROMPT_FIRST_SEGMENT_END_SYMBOL='%{%}'
# End filler on the edge of the screen if there are no right segments on the first line.
@@ -521,7 +521,7 @@
typeset -g POWERLEVEL9K_STATUS_OK=true
typeset -g POWERLEVEL9K_STATUS_OK_VISUAL_IDENTIFIER_EXPANSION='✔'
typeset -g POWERLEVEL9K_STATUS_OK_FOREGROUND=2
- typeset -g POWERLEVEL9K_STATUS_OK_BACKGROUND='#002a2b'
+ typeset -g POWERLEVEL9K_STATUS_OK_BACKGROUND='#008282'
# Status when some part of a pipe command fails but the overall exit status is zero. It may look
# like this: 1|0.
@@ -1770,8 +1770,8 @@
####################################[ time: current time ]####################################
# Current time color.
- typeset -g POWERLEVEL9K_TIME_FOREGROUND=254
- typeset -g POWERLEVEL9K_TIME_BACKGROUND='#008282'
+ typeset -g POWERLEVEL9K_TIME_FOREGROUND='#8affff'
+ typeset -g POWERLEVEL9K_TIME_BACKGROUND='#004546'
# Format for the current time: 09:51:02. See `man 3 strftime`.
typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%H:%M:%S}'
# If set to true, time will update when you hit enter. This way prompts for the past