Alpha Chen 8 months ago
parent d2fdca2c0e
commit 38c607651e
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -143,7 +143,9 @@
typeset -g POWERLEVEL9K_ICON_BEFORE_CONTENT=true typeset -g POWERLEVEL9K_ICON_BEFORE_CONTENT=true
# Add an empty line before each prompt. # Add an empty line before each prompt.
typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=true # typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
# https://github.com/romkatv/powerlevel10k/issues/2163#issuecomment-1397243389
p10k-on-pre-prompt() p10k display empty_line=print
# Connect left prompt lines with these symbols. # Connect left prompt lines with these symbols.
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX= typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=
@ -1711,7 +1713,7 @@
# - always: Trim down prompt when accepting a command line. # - 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 # - same-dir: Trim down prompt when accepting a command line unless this is the first command
# typed after changing current working directory. # typed after changing current working directory.
typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=always typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=same-dir
# Instant prompt mode. # Instant prompt mode.
# #

Loading…
Cancel
Save