.p10k_server: 改配色
This commit is contained in:
parent
def97cc705
commit
9f2e304bd4
@ -217,17 +217,17 @@
|
|||||||
|
|
||||||
##################################[ dir: current directory ]##################################
|
##################################[ dir: current directory ]##################################
|
||||||
# Default current directory color.
|
# Default current directory color.
|
||||||
typeset -g POWERLEVEL9K_DIR_FOREGROUND=4
|
typeset -g POWERLEVEL9K_DIR_FOREGROUND=7
|
||||||
# If directory is too long, shorten some of its segments to the shortest possible unique
|
# If directory is too long, shorten some of its segments to the shortest possible unique
|
||||||
# prefix. The shortened directory can be tab-completed to the original.
|
# prefix. The shortened directory can be tab-completed to the original.
|
||||||
typeset -g POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique
|
typeset -g POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique
|
||||||
# Replace removed segment suffixes with this symbol.
|
# Replace removed segment suffixes with this symbol.
|
||||||
typeset -g POWERLEVEL9K_SHORTEN_DELIMITER=
|
typeset -g POWERLEVEL9K_SHORTEN_DELIMITER=
|
||||||
# Color of the shortened directory segments.
|
# Color of the shortened directory segments.
|
||||||
typeset -g POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=4
|
typeset -g POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=7
|
||||||
# Color of the anchor directory segments. Anchor segments are never shortened. The first
|
# Color of the anchor directory segments. Anchor segments are never shortened. The first
|
||||||
# segment is always an anchor.
|
# segment is always an anchor.
|
||||||
typeset -g POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=4
|
typeset -g POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=7
|
||||||
# Set to true to display anchor directory segments in bold.
|
# Set to true to display anchor directory segments in bold.
|
||||||
typeset -g POWERLEVEL9K_DIR_ANCHOR_BOLD=false
|
typeset -g POWERLEVEL9K_DIR_ANCHOR_BOLD=false
|
||||||
# Don't shorten directories that contain any of these files. They are anchors.
|
# Don't shorten directories that contain any of these files. They are anchors.
|
||||||
@ -908,9 +908,9 @@
|
|||||||
# Context color when running with privileges.
|
# Context color when running with privileges.
|
||||||
typeset -g POWERLEVEL9K_CONTEXT_ROOT_FOREGROUND=1
|
typeset -g POWERLEVEL9K_CONTEXT_ROOT_FOREGROUND=1
|
||||||
# Context color in SSH without privileges.
|
# Context color in SSH without privileges.
|
||||||
typeset -g POWERLEVEL9K_CONTEXT_{REMOTE,REMOTE_SUDO}_FOREGROUND=7
|
typeset -g POWERLEVEL9K_CONTEXT_{REMOTE,REMOTE_SUDO}_FOREGROUND=11
|
||||||
# Default context color (no privileges, no SSH).
|
# Default context color (no privileges, no SSH).
|
||||||
typeset -g POWERLEVEL9K_CONTEXT_FOREGROUND=7
|
typeset -g POWERLEVEL9K_CONTEXT_FOREGROUND=11
|
||||||
|
|
||||||
# Context format when running with privileges: bold user@hostname.
|
# Context format when running with privileges: bold user@hostname.
|
||||||
typeset -g POWERLEVEL9K_CONTEXT_ROOT_TEMPLATE='%B%n@%m'
|
typeset -g POWERLEVEL9K_CONTEXT_ROOT_TEMPLATE='%B%n@%m'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user