1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-12 08:10:07 +00:00

Cleaning up comments around font icon settings.

This commit is contained in:
Ben Hilburn 2015-09-28 11:37:43 -07:00
parent b96c5a18c1
commit 6a0eb2fb11

View file

@ -5,9 +5,6 @@
# #
# This theme was inspired by agnoster's Theme: # This theme was inspired by agnoster's Theme:
# https://gist.github.com/3712874 # 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 typeset -gAH icons
case $POWERLEVEL9K_MODE in case $POWERLEVEL9K_MODE in
'flat'|'awesome-patched') 'flat'|'awesome-patched')
# Awesome-Patched Font required! # Awesome-Patched Font required! See:
# See https://github.com/gabrielelana/awesome-terminal-fonts/tree/patching-strategy/patched # 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 # Set the right locale to protect special characters
local LC_ALL="" LC_CTYPE="en_US.UTF-8"
icons=( icons=(
LEFT_SEGMENT_SEPARATOR $'\UE0B0' #  LEFT_SEGMENT_SEPARATOR $'\UE0B0' # 
RIGHT_SEGMENT_SEPARATOR $'\UE0B2' #  RIGHT_SEGMENT_SEPARATOR $'\UE0B2' # 
@ -84,7 +82,6 @@ case $POWERLEVEL9K_MODE in
'awesome-fontconfig') 'awesome-fontconfig')
# fontconfig with awesome-font required! # fontconfig with awesome-font required!
# See https://github.com/gabrielelana/awesome-terminal-fonts # See https://github.com/gabrielelana/awesome-terminal-fonts
LEFT_SEGMENT_SEPARATOR="\uE0B0" #  LEFT_SEGMENT_SEPARATOR="\uE0B0" # 
RIGHT_SEGMENT_SEPARATOR="\uE0B2" #  RIGHT_SEGMENT_SEPARATOR="\uE0B2" # 
ROOT_ICON="\u26A1" # ⚡ ROOT_ICON="\u26A1" # ⚡
@ -163,7 +160,8 @@ case $POWERLEVEL9K_MODE in
icons[RIGHT_SUBSEGMENT_SEPARATOR]='|' icons[RIGHT_SUBSEGMENT_SEPARATOR]='|'
;; ;;
'compatible') '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[LEFT_SEGMENT_SEPARATOR]=$'\u2B80' # ⮀
icons[RIGHT_SEGMENT_SEPARATOR]=$'\u2B82' # ⮂ icons[RIGHT_SEGMENT_SEPARATOR]=$'\u2B82' # ⮂
icons[VCS_BRANCH_ICON]='@' icons[VCS_BRANCH_ICON]='@'