|
|
|
@ -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]='@'
|
|
|
|
|