mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-18 05:40:07 +00:00
Cleaning up comments around font icon settings.
This commit is contained in:
parent
b96c5a18c1
commit
6a0eb2fb11
1 changed files with 87 additions and 89 deletions
|
@ -5,9 +5,6 @@
|
|||
#
|
||||
# This theme was inspired by agnoster's Theme:
|
||||
# https://gist.github.com/3712874
|
||||
#
|
||||
# The `vcs_info` hooks in this file are from Tom Upton:
|
||||
# https://github.com/tupton/dotfiles/blob/master/zsh/zshrc
|
||||
################################################################
|
||||
|
||||
################################################################
|
||||
|
@ -33,9 +30,10 @@
|
|||
typeset -gAH icons
|
||||
case $POWERLEVEL9K_MODE in
|
||||
'flat'|'awesome-patched')
|
||||
# Awesome-Patched Font required!
|
||||
# See https://github.com/gabrielelana/awesome-terminal-fonts/tree/patching-strategy/patched
|
||||
local LC_ALL="" LC_CTYPE="en_US.UTF-8" # Set the right locale to protect special characters
|
||||
# Awesome-Patched Font required! See:
|
||||
# https://github.com/gabrielelana/awesome-terminal-fonts/tree/patching-strategy/patched
|
||||
# Set the right locale to protect special characters
|
||||
local LC_ALL="" LC_CTYPE="en_US.UTF-8"
|
||||
icons=(
|
||||
LEFT_SEGMENT_SEPARATOR $'\UE0B0' #
|
||||
RIGHT_SEGMENT_SEPARATOR $'\UE0B2' #
|
||||
|
@ -84,7 +82,6 @@ case $POWERLEVEL9K_MODE in
|
|||
'awesome-fontconfig')
|
||||
# fontconfig with awesome-font required!
|
||||
# See https://github.com/gabrielelana/awesome-terminal-fonts
|
||||
|
||||
LEFT_SEGMENT_SEPARATOR="\uE0B0" #
|
||||
RIGHT_SEGMENT_SEPARATOR="\uE0B2" #
|
||||
ROOT_ICON="\u26A1" # ⚡
|
||||
|
@ -163,7 +160,8 @@ case $POWERLEVEL9K_MODE in
|
|||
icons[RIGHT_SUBSEGMENT_SEPARATOR]='|'
|
||||
;;
|
||||
'compatible')
|
||||
local LC_ALL="" LC_CTYPE="en_US.UTF-8" # Set the right locale to protect special characters
|
||||
# Set the right locale to protect special characters
|
||||
local LC_ALL="" LC_CTYPE="en_US.UTF-8"
|
||||
icons[LEFT_SEGMENT_SEPARATOR]=$'\u2B80' # ⮀
|
||||
icons[RIGHT_SEGMENT_SEPARATOR]=$'\u2B82' # ⮂
|
||||
icons[VCS_BRANCH_ICON]='@'
|
||||
|
|
Loading…
Reference in a new issue