summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2015-09-28 20:46:13 +0300
committerBen Hilburn <bhilburn@gmail.com>2015-09-28 20:46:13 +0300
commitb96c5a18c12abee9781f01a9a7d52d838486ea05 (patch)
treed6e0c4220a94521345645cab5bff90e3196bcdb5
parentf18c92d76664f53351515f0f71a1047b7766648c (diff)
parent4fa3228900f7a096de8df026f062fb8e949977de (diff)
Merge pull request #106 from V1rgul/master
Added awesome-fontconfig support
-rw-r--r--README.md5
-rw-r--r--powerlevel9k.zsh-theme28
2 files changed, 33 insertions, 0 deletions
diff --git a/README.md b/README.md
index fd33a872..f0c37847 100644
--- a/README.md
+++ b/README.md
@@ -195,8 +195,13 @@ a number of additional glyphs.
You then need to indicate that you wish to use the additional glyphs by defining
the following in your `~/.zshrc`:
+ POWERLEVEL9K_MODE='awesome-fontconfig'
+
+If you chose to use already patched fonts, use instead :
+
POWERLEVEL9K_MODE='awesome-patched'
+
If you choose to make use of this, your prompt will look something like this:
![](https://cloud.githubusercontent.com/assets/1544760/7959660/67612918-09fb-11e5-9ef2-2308363c3c51.png)
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 6ea0cd64..d33e6fab 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -81,6 +81,34 @@ case $POWERLEVEL9K_MODE in
VCS_HG_ICON $'\UE1C3 ' # 
)
;;
+ '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" # ⚡
+ RUBY_ICON="\uf219" # 
+ AWS_ICON="\uf1b2" # 
+ BACKGROUND_JOBS_ICON="\uf013 " # 
+ TEST_ICON="\uE891" # 
+ OK_ICON="\u2713" # ✓
+ FAIL_ICON="\u2718" # ✘
+ SYMFONY_ICON="SF"
+ VCS_UNTRACKED_ICON="\uf059" # 
+ VCS_UNSTAGED_ICON="\uf06a" # 
+ VCS_STAGED_ICON="\uf055" # 
+ VCS_STASH_ICON="\uf01c " # 
+ VCS_INCOMING_CHANGES="\uf01a " # 
+ VCS_OUTGOING_CHANGES="\uf01b " # 
+ VCS_TAG_ICON="\uE817 " # 
+ VCS_BOOKMARK_ICON="\uf001" # 
+ VCS_COMMIT_ICON="\uf01f " # 
+ VCS_BRANCH_ICON="\uf126" # 
+ VCS_REMOTE_BRANCH_ICON=" \uf005 " # 
+ VCS_GIT_ICON="\uf113 " # 
+ VCS_HG_ICON="\uf0c3 " # 
+ ;;
*)
# Powerline-Patched Font required!
# See https://github.com/Lokaltog/powerline-fonts